Homepage › Solution manuals › Ivan Niven › An Introduction to the Theory of Numbers › Exercise 2.5.4* ($a^{k \overline{k}} \equiv a \pmod m$ for all integers $a$)
Exercise 2.5.4* ($a^{k \overline{k}} \equiv a \pmod m$ for all integers $a$)
Suppose that is square-free, and that and are positive integers such that . Show that for all integers .
Answers
(I don’t use the hint.)
Proof. We know that , so there is some integer such that
Since is square-free, the decomposition of in prime factors is
where are distinct primes. Then
-
Suppose first that . By Fermat’s theorem,
By (2), (or Problem 3), , therefore
This gives, using (1),
-
If , using , we obtain
In both cases, , for all integers , and for every index .
Since are distinct (thus relatively prime by pairs),
that is
for all integers . □