%I M1308 #46 Sep 08 2022 08:44:34
%S 1,2,4,118,132,140,152,208,240,242,288,290,306,378,392,426,434,442,
%T 508,510,540,542,562,596,610,664,680,682,732,782,800,808,866,876,884,
%U 892,916,918,934,956,990,1022,1028,1054,1106,1120,1174,1224,1232,1256,1284
%N Numbers n such that n^8 + 1 is prime.
%D Dubner, Harvey. "Generalized Fermat primes." J. Recreational Math., 18 (1985): 279-280.
%D N. J. A. Sloane and Simon Plouffe, The Encyclopedia of Integer Sequences, Academic Press, 1995 (includes this sequence).
%H T. D. Noe, <a href="/A006314/b006314.txt">Table of n, a(n) for n=1..10000</a>
%t Select[Range[1300],PrimeQ[#^8+1]&] (* _Harvey P. Dale_, Mar 31 2011 *)
%o (PARI) isA006314(n) = isprime(n^8+1) \\ _Michael B. Porter_, Mar 24 2010
%o (Magma) [n: n in [0..2000] | IsPrime(n^8+1)]; _Vincenzo Librandi_, Nov 18 2010
%Y Cf. A005574, A000068, A006313, A006315, A006316, A056994, A056995, A057465, A057002, A088361, A088362, A226528, A226529, A226530, A251597, A253854, A244150, A243959, A321323.
%K nonn,easy
%O 1,2
%A _N. J. A. Sloane_
%E More terms from _James A. Sellers_, May 03 2000