OFFSET
1,1
COMMENTS
Factors are of the form k*2^(n+1)+1.
LINKS
Dario Alejandro Alpern, Factorization using the Elliptic Curve Method.
Anders Björn and Hans Riesel, Factors of generalized Fermat numbers, Math. Comp. 67 (1998), no. 221, pp. 441-446.
MATHEMATICA
f[n_] := Block[{k = 1, m = 2^(n + 1)}, While[ Mod[ PowerMod[2, 2^n, k*m + 1] + PowerMod[3, 2^n, k*m + 1], k*m + 1] != 0, k++ ]; k*m + 1]; Table[ f[n], {n, 9}] (* Robert G. Wilson v, Jun 03 2004 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Jun 02 2004
EXTENSIONS
Edited and extended by Robert G. Wilson v, Jun 03 2004
STATUS
approved
