login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
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 (list; graph; refs; listen; history; text; internal format)
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
Sequence in context: A017348 A017468 A017600 * A127364 A251851 A083600
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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified July 15 07:59 EDT 2024. Contains 374324 sequences. (Running on oeis4.)