-1

I am familiar with the following Euler Theorem: (Note: In the following ø(n) is the Euler function)

version i)

If gcd(x,n)=1, then $x^{ø(n)} = 1$ (mod n).

Version ii) However, I have seen the following version described as Eulers theorem too:

if $a = b$ (mod ø(n)), then $x^a = x^b$ (mod n) if gcd(x,n)=1.

My question is then, if they are equivalent, how can i show that version i) implies version ii) ? Thanks,

Bill Dubuque
  • 272,048

2 Answers2

1

$a \equiv b \pmod{\phi(n)} $ means $$ a = b +k \phi(n) $$ for some integer $k$. Therefore $$x^a = x^b (x^{\phi(n)})^k. $$

user1337
  • 24,381
0

By $i)$, you can reduce the exponent $\bmod\varphi(n)$. Thus we get $ii)$.