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”).

A006314
Numbers n such that n^8 + 1 is prime.
(Formerly M1308)
42
1, 2, 4, 118, 132, 140, 152, 208, 240, 242, 288, 290, 306, 378, 392, 426, 434, 442, 508, 510, 540, 542, 562, 596, 610, 664, 680, 682, 732, 782, 800, 808, 866, 876, 884, 892, 916, 918, 934, 956, 990, 1022, 1028, 1054, 1106, 1120, 1174, 1224, 1232, 1256, 1284
OFFSET
1,2
REFERENCES
Dubner, Harvey. "Generalized Fermat primes." J. Recreational Math., 18 (1985): 279-280.
N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
MATHEMATICA
Select[Range[1300], PrimeQ[#^8+1]&] (* Harvey P. Dale, Mar 31 2011 *)
PROG
(PARI) isA006314(n) = isprime(n^8+1) \\ Michael B. Porter, Mar 24 2010
(Magma) [n: n in [0..2000] | IsPrime(n^8+1)]; // Vincenzo Librandi, Nov 18 2010
KEYWORD
nonn,easy
EXTENSIONS
More terms from James A. Sellers, May 03 2000
STATUS
approved