login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A070655
Numbers n such that n+1, n^2+1, n^4+1 and n^8+1 are primes.
4
1, 2, 4, 19380, 285090, 337536, 448630, 532390, 534430, 545140, 547536, 585106, 602056, 677076, 876180, 1007386, 1030200, 1331950, 1462000, 1736346, 1878790, 1883856, 2071960, 2194666, 2240890, 2763010, 2824720, 3018606, 3114996
OFFSET
1,2
MATHEMATICA
Do[ If[ PrimeQ[n + 1] && PrimeQ[n^2 + 1] && PrimeQ[n^4 + 1] && PrimeQ[n^8 + 1], Print[n]], {n, 1, 10^7}]
CROSSREFS
Cf. A070325.
Sequence in context: A134718 A328313 A048829 * A006263 A266198 A274990
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, May 13 2002
STATUS
approved