A164926 Least prime p such that x^2+x+p produces primes for x=0..n-1 and composite for x=n.
2, 3, 107, 5, 347, 1607, 1277, 21557, 51867197, 11, 180078317, 1761702947, 8776320587, 27649987598537, 291598227841757, 17
Offset: 1
Links
- R. A. Goudsmit, Unusual Prime Number Sequences, Nature, Vol. 214 (June 10, 1967), page 1164.
- R. A. Mollin, Prime-Producing Quadratics, The American Mathematical Monthly, Vol. 104, No. 6 (Jun. - Jul., 1997), pp. 529-544.
Crossrefs
Programs
-
Mathematica
PrimeRun[p_Integer] := Module[{k=0}, While[PrimeQ[k^2+k+p], k++ ]; k]; nn=8; t=Table[0,{nn}]; cnt=0; p=1; While[cnt
Extensions
a(14) and a(15) from Jens Kruse Andersen, Sep 09 2009
Comments