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

A006313
Numbers n such that n^16 + 1 is prime.
(Formerly M2164)
43
1, 2, 44, 74, 76, 94, 156, 158, 176, 188, 198, 248, 288, 306, 318, 330, 348, 370, 382, 396, 452, 456, 470, 474, 476, 478, 560, 568, 598, 642, 686, 688, 690, 736, 774, 776, 778, 790, 830, 832, 834, 846, 900, 916, 946, 956, 972, 982, 984, 1018, 1044, 1078
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).
LINKS
Ray Chandler, Table of n, a(n) for n = 1..10000 (first 1000 terms from T. D. Noe)
MATHEMATICA
lst={}; Do[If[PrimeQ[n^16+1], AppendTo[lst, n]], {n, 10^4}]; lst (* Vladimir Joseph Stephan Orlovsky, Aug 20 2008 *)
s=Reap[Sow[1]; Do[If[PrimeQ[n^16+1], Sow[n]], {n, 2, 40352, 2}]][[2, 1]] (* Zak Seidov, Dec 22 2010 *)
Join[{1}, 2*Flatten[Position[Range[2, 1100, 2]^16+1, _?PrimeQ]]] (* Harvey P. Dale, Jun 26 2017 *)
PROG
(PARI) isA006313(n) = isprime(n^16+1) \\ Michael B. Porter, Mar 25 2010
(Magma) [ n: n in [0..1500] | IsPrime(n^16+1) ]; // Vincenzo Librandi, Nov 18 2010
KEYWORD
nonn
EXTENSIONS
More terms from Hugo Pfoertner, Jun 22 2003
STATUS
approved