OFFSET
1,1
COMMENTS
On Keller's linked page, to find the terms, you run through the tables and find all rows with k = 5 and with n exactly 2 greater than m, then that m belongs to this sequence. - Jeppe Stig Nielsen, Dec 04 2018
LINKS
EXAMPLE
a(1)=5 because 5 is the smallest positive integer k for which 1 + 5*2^(k+2) divides the Fermat number 1 + 2^2^k.
MATHEMATICA
Select[Range[1, 2000], Mod[1 + PowerMod[2, 2^#, 1 + 5*2^(# + 2)], 1 + 5*2^(# + 2)] == 0 &] (* Julien Kluge, Jul 08 2016 *)
PROG
(PARI) isok(n) = Mod(2, 1+5*2^(n+2))^(2^n) + 1 == 0; \\ Michel Marcus, Apr 29 2016
CROSSREFS
KEYWORD
nonn,more,hard
AUTHOR
Serhat Sevki Dincer (mesti_mudam(AT)yahoo.com), Feb 07 2005
STATUS
approved