Solution March 01, 2007
Problem
For all integers we define , where x1 is a positive integer. Find the least x1 such that 2006 divides x2006.
Solution
Clearly, .
If divides it will also divide for all .
Note that , so we can consider the sequence modulo each of these three primes separately.
Assume that .
Let , and let be the smallest index such that . If then . Otherwise , i.e. or . The first possibility is ruled out by our choice of . If this implies .
Now assume that . Then,
Now consider each in turn.
- If , (1) is a contradiction because is always even.
- If we can raise both sides of (2) to the 8-th power and use Fermat's little theorem (http://en.wikipedia.org/wiki/Fermat%27s_little_theorem). The result is , a contradiction.
- The case is very similar. This time, we raise both sides of (2) to the 29-th power and get , again a contradiction.
Note: The last two cases show that is not a quadratic residue (http://en.wikipedia.org/wiki/Quadratic_residue) modulo or .
In summary, we have that or for . For this is no restriction. So we have four cases, which we can solve using the Chinese Remainder Theorem (http://en.wikipedia.org/wiki/Chinese_remainder_theorem)
- and has solutions .
- and has solutions .
- and has solutions .
- and has solutions .
The smallest positive solution is .