OFFSET
1,3
COMMENTS
40 is the first value not in the sequence.
LINKS
Robert Price, Table of n, a(n) for n = 1..3092
Eric Weisstein's World of Mathematics, Prime-Generating Polynomials
EXAMPLE
4 is in this sequence since 42*4^3 + 270*4^2 - 26436*4 + 250703 = 151967, which is prime.
MATHEMATICA
Select[Range[0, 100], PrimeQ[42#^3 + 270#^2 - 26436# + 250703] &]
PROG
(PARI) is(n)=isprime(42*n^3+270*n^2-26436*n+250703) \\ Charles R Greathouse IV, Feb 17 2017
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Price, Apr 23 2016
STATUS
approved