OFFSET
1,2
COMMENTS
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..331
EXAMPLE
{765 + 766, 765^2 + 766^2, 765^4 + 766^4, 765^8 + 766^8} = {1531, 1171981, 686770904161, 235828747162526935093921}, all prime.
MATHEMATICA
Do[If[PrimeQ[2n + 1] && PrimeQ[n^2 + (n+1)^2] && PrimeQ[n^4 + (n+1)^4] && PrimeQ[n^8 + (n+1)^8], Print[n]], {n, 5*10^6}] (* Ryan Propper, Mar 30 2007 *)
PROG
(Magma) [n: n in [1..3*10^6]| IsPrime(2*n+1) and IsPrime(n^2+(n+1)^2) and IsPrime(n^4+(n+1)^4) and IsPrime(n^8+(n+1)^8)]; // Vincenzo Librandi, Nov 18 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Zak Seidov, Mar 28 2007
EXTENSIONS
More terms from Ryan Propper, Mar 30 2007
STATUS
approved