A289839 Primes of the form 8*n^2+8*n+31.
31, 47, 79, 127, 191, 271, 367, 479, 607, 751, 911, 1087, 1279, 1487, 1951, 2207, 2767, 3391, 3727, 4079, 4447, 4831, 5231, 5647, 6079, 6991, 9007, 9551, 10111, 10687, 11279, 11887, 12511, 13151, 13807, 14479, 17327, 20431, 21247, 22079, 24671, 26479, 27407
Offset: 1
Keywords
Examples
79 is a term as it is a prime corresponding to n=2: 8*4+8*2+31=79.
Links
- Eric Weisstein's World of Mathematics, Prime-Generating Polynomial
Crossrefs
Programs
-
Mathematica
Select[Range[0,100]//8#^2+8#+31&, PrimeQ]
-
PARI
for(n=0, 100, isprime(p=8*n^2+8*n+31)&& print1(p ", "))
Comments