OFFSET
1,1
COMMENTS
The Mathematica program generates numbers of the form x^8 + y^8 in order of increasing magnitude; it accepts a number when all the x^2^k + y^2^k are prime for k=0,1,2,3.
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..100
Eric Weisstein's World of Mathematics, Generalized Fermat Number.
MATHEMATICA
n=3; 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]]; allPrime=True; k=0; While[k<=n&&allPrime, allPrime=PrimeQ[x^2^k+y^2^k]; k++ ]; !allPrime]; p, {20}]
CROSSREFS
KEYWORD
nonn
AUTHOR
T. D. Noe, Nov 11 2004
STATUS
approved