OFFSET
1,1
COMMENTS
The Mathematica program generates numbers of the form x^32 + y^32 in order of increasing magnitude; it accepts a number when it is prime.
LINKS
T. D. Noe, Table of n, a(n) for n = 1..1000
Eric Weisstein's World of Mathematics, Generalized Fermat Number.
MATHEMATICA
n=5; pwr=2^n; xmax=2; r=Range[xmax]; num=r^pwr+r^pwr; Table[While[p=Min[num]; x=Position[num, p][[1, 1]]; y=r[[x]]; r[[x]]++; num[[x]]=x^pwr+r[[x]]^pwr; If[x==xmax, xmax++; AppendTo[r, xmax+1]; AppendTo[num, xmax^pwr+(xmax+1)^pwr]]; !PrimeQ[p]]; p, {10}]
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Nov 11 2004
STATUS
approved