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

  • Context: MHB 
  • Thread starter Thread starter KOO
  • Start date Start date
KOO
Messages
19
Reaction score
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
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
 
It can even happen with a prime modulus: $1^3 = 2^3\pmod7$.
 
Even in non-trivial cases : $4^3 = 10^3\pmod{13}$
 
Hi,
Here's an easy result in the positive direction.

If 3 is prime to $$\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
 

Similar threads

Replies
10
Views
4K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 3 ·
Replies
3
Views
2K
  • · Replies 2 ·
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
  • · Replies 29 ·
Replies
29
Views
6K
  • · Replies 2 ·
Replies
2
Views
1K
Replies
2
Views
2K
  • · Replies 5 ·
Replies
5
Views
1K
  • · Replies 1 ·
Replies
1
Views
1K