If a³ ≡ b³ (mod n) then a ≡ b (mod n)

  • MHB
  • Thread starter KOO
  • Start date
In summary, the statement "If $a^3 ≡b^3$(mod n) then $a ≡ b$ (mod n)" is false. A counterexample is when $n=8$, $a=2$, and $b=4$. However, if 3 is prime to $\phi(n)$ and both $a$ and $b$ are prime to $n$, then the conclusion does follow. This can be seen in examples such as $n=17$ or any prime $p$ where 3 does not divide $p-1$.
  • #1
KOO
19
0
Let $a, b \in Z$ and $n \in N$ . Is the following necessarily true?
If $a^3 ≡b^3$(mod n) then $a ≡ b$ (mod n)

I know it's false but I can't think of an counterexample.
 
Mathematics news on Phys.org
  • #2
Re: If $a^3 ≡b^3$(mod n) then $a ≡ b$ (mod n)

KOO said:
Let $a, b \in Z$ and $n \in N$ . Is the following necessarily true?
If $a^3 ≡b^3$(mod n) then $a ≡ b$ (mod n)

I know it's false but I can't think of an counterexample.

No

$2^3 = 4^3$ mod 8
 
  • #3
It can even happen with a prime modulus: $1^3 = 2^3\pmod7$.
 
  • #4
Even in non-trivial cases : $4^3 = 10^3\pmod{13}$
 
  • #5
Hi,
Here's an easy result in the positive direction.

If 3 is prime to \(\displaystyle \phi(n)\) and both a and b are prime to n, then the conclusion does follow.

Example: n=17 or any prime p with 3 not dividing p-1
 

FAQ: If a³ ≡ b³ (mod n) then a ≡ b (mod n)

What is the meaning of "mod n" in the equation?

In modular arithmetic, the expression "a ≡ b (mod n)" means that a and b have the same remainder when divided by n. In other words, n divides evenly into the difference between a and b.

How does modular arithmetic relate to other types of arithmetic?

Modular arithmetic is a type of arithmetic that deals with numbers and their remainders when divided by a specific number. It is often used in number theory and cryptography.

Can this equation be used to solve equations with variables?

Yes, this equation can be used to solve equations with variables as long as they are in the form of "a³ ≡ b³ (mod n)". By taking the cube root of both sides, we can find the value of a and b that satisfy the equation.

Is this equation always true?

No, this equation is not always true. It is only true when "a³ ≡ b³ (mod n)". In other words, when the cubes of a and b have the same remainder when divided by n.

How is this equation relevant in the field of science?

This equation has various applications in science, particularly in fields such as physics, chemistry, and computer science. It can be used to solve problems involving periodic phenomena, such as oscillations, and can also be used in data encryption and decryption methods.

Back
Top