OFFSET
1,3
LINKS
Robert Price, Table of n, a(n) for n = 1..3530
Eric Weisstein's World of Mathematics, Prime-Generating Polynomials
EXAMPLE
4 is in this sequence since 7*4^2 - 371*4 + 4871 = 112-1484+4871 = 3499 is prime.
MATHEMATICA
Select[Range[0, 100], PrimeQ[7#^2 - 371# + 4871] &]
PROG
(PARI) lista(nn) = for(n=0, nn, if(ispseudoprime(abs(7*n^2-371*n+4871)), print1(n, ", "))); \\ Altug Alkan, Apr 19 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Price, Apr 19 2016
STATUS
approved