Let be an odd prime number. For every integer , define the number
Let and be integers such that
Prove that divides .
Problem 2275
Official solutions — 2
Solution 1
For rational numbers and with the denominators not divisible by , we write if the numerator of their difference is divisible by .
We start with finding an explicit formula for the residue of modulo . Note first that for every the number is divisible by , and
Therefore, we have
The number on the right-hand side is integer. Using the binomial formula we express it as
since is odd. So, we have
Finally, using the obtained formula we get
By Fermat's theorem, , so and hence .
Solution 2
One may solve the problem without finding an explicit formula for . It is enough to find the following property.
Lemma. For every integer , we have .
Proof. We expand using the binomial formula as
Note that for all ; hence the first sum vanishes modulo . For the second sum, we use the relation to obtain
Finally, from the relation
we obtain
Now we turn to the problem. Using the lemma we get
The first sum in (1) expands as
Next, using Fermat's theorem, we expand the second sum in (1) as
(here we set ). Hence,