Solution: Day 1, problem 2
We certainly cannot prove this, since the case would be the assertion that there are infinitely many Fermat primes, so we must disprove it. This uses "covering congruences" and Euler's observation that Fermat's claim that is always prime fails for , as follows:
The value of modulo depends on , so by choosing congruent to 1 (respectively to 2) modulo 3 we can arrange that all of the values of with odd (respectively even) are divisible by and hence composite. The value of modulo depends on modulo 4, so by choosing congruent to 1, 2, 3 or 4 modulo 5 we can ensure that all of the values of with in any fixed residue class mod 4 are divisible by and hence composite. We choose the residue class of mod 5 so that the values of with = 0 (modulo 5) are disjoint from those already eliminated by the choice of . For instance, we could choose (modulo 3) to make the values of with even divisible by 3, and then choose (modulo 5) to eliminate the residue class (modulo 4). At this point we have fixed = 15 = 24 - 1 (more specifically, we have 4 ways of choosing the residue class of mod 15) and have eliminated 3 /4 of the values of .
Continuing, we find that, since the order of 2 mod is exactly , we can choose modulo in two ways (given the previous choices modulo and ) in such a way as to eliminate one of the remaining two residue classes of mod 8, then choose modulo in two ways to eliminate half of the remaining values of , and then again modulo .
At this stage we have chosen modulo (more precisely, we have found 32 possible choices, one for each residue class mod 32) in such a way that the numbers with (modulo 32) are always divisible by one of the primes or and hence are composite. If all were prime, we would continue this way indefinitely and never eliminate all . But Euler's discovery that factorizes as 641 × 6700417 means that at the next stage we can choose modulo 641 to eliminate one of the two surviving residue classes of n modulo 64 and independently choose modulo 6700417 to eliminate the other one, thus giving finally 64 choices of modulo = 264 - 1 such that all members of the sequence have a factor in common with 264 - 1 and hence are composite. The smallest which works is k0 = 201446503145165177, which is congruent to 217 modulo (264 - 1)/641 and to -217 modulo 641.
Using covering congruences to composite moduli different from 264 - 1 we can get somewhat smaller values of which also work, but this requires some numerical computations, while the argument using Fermat primes needs only "pure thought" plus the fact that there is at least one composite Fermat number. Note, too, that similar arguments apply for or any similar sequence.