Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 2.3.44* (Generalization of Euler's theorem: $a^m \equiv a^{m-\phi(m)} \pmod m$ for all $a$)
Exercise 2.3.44* (Generalization of Euler's theorem: $a^m \equiv a^{m-\phi(m)} \pmod m$ for all $a$)
Prove the following generalization of Euler’s theorem:
for any integer .
Answers
Proof. If , any integer is congruent to any other modulo , so there is noting to prove. We suppose now that .
Let be the decomposition of in prime factors, where . We will prove for all .
-
Suppose first that . Then
that is
We know that for all (by induction, or using ).
Therefore, using (1), . This shows that, for all index ,
Therefore
A fortiori , so
-
Suppose now that . Then .
By Euler’s theorem,
Since , a fortiori
Therefore, using ,
In both cases
Since the integers are relatively prime by pairs, where ,
for any integer . □