OFFSET
0,1
COMMENTS
a(14) might need to be corrected if F(14) turns out to have a smaller factor than 116928085873074369829035993834596371340386703423373313. F(20) is composite, but no explicit factor is known. - Jeppe Stig Nielsen, Feb 11 2010
LINKS
Ivars Peterson, Cracking Fermat Numbers
Lorenzo Sauras-Altuzarra, Some properties of the factors of Fermat numbers, Art Discrete Appl. Math. (2022).
Eric Weisstein's World of Mathematics, Fermat Number
FORMULA
a(n) = A007117(n)*2^(n+2) + 1 for n >= 2. - Jianing Song, Mar 02 2021
EXAMPLE
F(0) = 2^(2^0) + 1 = 3, prime.
F(5) = 2^(2^5) + 1 = 4294967297 = 641*6700417.
So 3 as the 0th entry and 641 is the 5th term.
MATHEMATICA
Table[With[{k = 2^n}, FactorInteger[2^k + 1]][[1, 1]], {n, 0, 15, 1}] (* Vincenzo Librandi, Jul 23 2013 *)
PROG
(PARI) g(n)=for(x=9, n, y=Vec(ifactor(2^(2^x)+1)); print1(y[1]", ")) \\ Cino Hilliard, Jul 04 2007
CROSSREFS
KEYWORD
nonn,hard
AUTHOR
Eric W. Weisstein, Mar 27 2004
EXTENSIONS
Edited by N. J. A. Sloane, Jul 02 2008 at the suggestion of R. J. Mathar
a(14)-a(15) added by Jeppe Stig Nielsen, Feb 11 2010
a(16)-a(19) added based on terms of A007117 by Jianing Song, Mar 02 2021
STATUS
approved