I thought I saw this once somewhere, oops! It was about Mersenne Numbers.
Anyway, Euler was the first person to prove the form of the factors. Fermat had conjectured, 1650, that his "Fermat Number" was always prime for all values, but Euler show differently: N=5 gives: 4,294,967,297 = 641x6700417. In fact beside the early cases N=0 to N=4, no one has found anymore "Fermat Primes."
This is about the only know case where Fermat was wrong about a conjecture, but, perhaps, those thinking Fermat actually solved his "own Last Theorem," might take note of his failure with the above conjecture.
Actually the problem is not that dissimilar to the Mersenne one. In this case we have 2^(2^n)==-1 Mod q, so that squaring produces 2^(2^(n+1)) ==1 Mod q for some prime divisor q.
To the modulus q, we have q-1 is the complete residue system, and 2^(2^n) is less than q, since it gave the value -1. Therefore 2^(n+1) is a divisor of this system q-1. Thus q=K2^(n+1)+1.
Note: Some of the values I looked at have a much higher power of two, and Lucas showed the value could be raised by 1 to q=2^(n+2)+1.