[go: up one dir, main page]

login
A006315
Numbers n such that n^32 + 1 is prime.
(Formerly M5208)
37
1, 30, 54, 96, 112, 114, 132, 156, 332, 342, 360, 376, 428, 430, 432, 448, 562, 588, 726, 738, 804, 850, 884, 1068, 1142, 1198, 1306, 1540, 1568, 1596, 1678, 1714, 1754, 1812, 1818, 1878, 1906, 1960, 1962, 2046, 2098, 2118, 2142, 2330, 2418, 2434, 2654, 2668
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^32+1], Print[n]; AppendTo[lst, n]], {n, 10^5}]; lst (* Vladimir Joseph Stephan Orlovsky, Aug 21 2008 *)
Select[Range[0, 2700], PrimeQ[(#^32 + 1)] &] (* Vincenzo Librandi, Sep 25 2012 *)
PROG
(PARI) isA006315(n) = isprime(n^32+1) \\ Michael B. Porter, Mar 26 2010
(Magma)[n: n in [1..3000] | IsPrime(n^32 + 1)]; // Vincenzo Librandi, Sep 25 2012
KEYWORD
nonn,easy
EXTENSIONS
More terms from Hugo Pfoertner, Jun 22 2003
STATUS
approved