login
A096372
List of primes produced by a certain "prime-generating" quartic polynomial.
1
1688311, 1410743, 1168619, 958807, 778319, 624311, 494083, 385079, 294887, 221239, 162011, 115223, 79039, 51767, 31859, 17911, 8663, 2999, -53, -1321, -1489, -1097, -541, -73, 199, 311, 443, 919, 2207, 4919, 9811, 17783, 29879, 47287, 71339, 103511, 145423, 198839
OFFSET
1,1
LINKS
Eric Weisstein's World of Mathematics, Prime-Generating Polynomials
FORMULA
Evaluate 6n^4 - 558n^3 + 19354n^2 - 296370n + 1688311 for n >= 0, record the primes.
MAPLE
f:= n -> 6*n^4 - 558*n^3 + 19354*n^2 - 296370*n + 1688311:
select(isprime@abs, [seq(f(n), n=0..100)]); # Robert Israel, Jan 16 2018
MATHEMATICA
Select[Table[6n^4-558n^3+19354n^2-296370n+1688311, {n, 0, 40}], PrimeQ] (* Harvey P. Dale, Dec 31 2018 *)
CROSSREFS
KEYWORD
easy,sign
AUTHOR
Hilko Koning (hilko(AT)hilko.net), Jul 19 2004
EXTENSIONS
Offset changed to 1 by Robert Israel, Jan 16 2018
STATUS
approved