OFFSET
1,1
COMMENTS
The polynomial 2*n^2 + 11 first fails to produce a prime for n = 11, giving 253 = 11 * 23. - Alonso del Arte, Sep 04 2016
Let P(n) = 2*n^2 + 11. The polynomial P(2*n - 10) = 8*n^2 - 80*n + 11 produces prime values (not distinct) for n = 0 to 10. The polynomial P(3*n - 19) = 18*n^2 - 228*n + 733 produces distinct prime values for n = 0 to 9. - Peter Bala, Apr 16 2018
LINKS
Vincenzo Librandi, Table of n, a(n) for n = 1..10000
Eric Weisstein's World of Mathematics, Prime-generating Polynomial.
FORMULA
a(n) = 11 + 2*(A092968(n))^2. - R. J. Mathar, Jan 03 2009
MATHEMATICA
Select[2Range[0, 100]^2 + 11, PrimeQ] (* Harvey P. Dale, May 20 2011 *)
PROG
(Magma) [a: n in [0..100] | IsPrime(a) where a is 2*n^2+11]; // Vincenzo Librandi, Dec 08 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
EXTENSIONS
11 added by Vincenzo Librandi, Dec 08 2011
STATUS
approved