I tested a few numbers of the form (i.e. ) besides and and they were all composite. Clearly some of them if we have an even number of 's in between are multiples of , but is it just a coincidence that the ones with odd number of 's are also composite?
-
1You seem to forget somewhere.Asaf Karagila– Asaf Karagila ♦2013-08-15 03:17:35 +00:00Commented Aug 15, 2013 at 3:17
-
See also math.stackexchange.com/questions/242949/… ...oh, and even more relevant, math.stackexchange.com/questions/34877/…Chris Culter– Chris Culter2013-08-15 03:34:40 +00:00Commented Aug 15, 2013 at 3:34
2 Answers
As André Nicolas mentions, can be prime only if . These are generalized Fermat numbers, and I believe it is open if infinitely many of them are prime. Here is some data for the special case that you are interested. In particular, the data shows that 11 and 101 are the only primes of the form for all up to .
The answer is not known. But the only candidate have the shape . So you can confine your testing to these.