OFFSET
1,1
COMMENTS
Other known values: a(14)=272259344081 and a(29)=29. There are no other terms less than 10^12. The primes p = 3, 5, 11, and 29 produce p consecutive distinct primes because the imaginary quadratic field Q(sqrt(-2p)) has class number 2. Assuming the prime k-tuples conjecture, this sequence is defined for n>0.
REFERENCES
Paulo Ribenboim, My Numbers, My Friends, Springer,2000, pp. 349-350.
LINKS
R. A. Mollin, Prime-producing quadratics, Amer. Math. Monthly 104 (1997), 529-544.
Eric W. Weisstein, Prime-Generating Polynomial
MATHEMATICA
PrimeRun[p_Integer] := Module[{k=0}, While[PrimeQ[2k^2+p], k++ ]; k]; nn=9; t=Table[0, {nn}]; cnt=0; p=1; While[cnt<nn, p=NextPrime[p]; n=PrimeRun[p]; If[n<=nn && t[[n]]==0, t[[n]]=p; cnt++ ]]; t
CROSSREFS
KEYWORD
hard,nonn,more
AUTHOR
T. D. Noe, Sep 09 2009
STATUS
approved