OFFSET
1,1
LINKS
Robert Price, Table of n, a(n) for n = 1..2128
Eric Weisstein's World of Mathematics, Prime-Generating Polynomials
EXAMPLE
166693 is in this sequence since abs(1/(36)(4^6 - 126*4^5 + 6217*4^4 - 153066*4^3 + 1987786*4^2 - 13055316*4 + 34747236)) = abs((4096 - 129024 + 1591552 - 9796224 + 31804576 - 5222126 + 34747236)/36) = 166693 is prime.
MATHEMATICA
n = Range[0, 100]; Select[1/(36)(n^6 - 126n^5 + 6217n^4 - 153066n^3 + 1987786n^2 - 13055316n + 34747236), PrimeQ[#] &]
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert Price, May 02 2016
STATUS
approved