1. Let be an odd prime number.
a. Show that divides for infinitely many positive integers .
b. Find all satisfying the condition above when .
Solution
a. We will show that for all , the number satisfies . Indeed, by Fermat's Little Theorem, we have
And then
Since there are infinitely many numbers of the form , we get the conclusion.
b. Notice that is periodic modulo , with a period of , and is periodic modulo , with period . Hence, is periodic, with period (at most) , and only the first positive integers need to be analyzed.
The answer is or .
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.