login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

A268200
Nonnegative numbers n such that abs(n^4 - 97n^3 + 3294n^2 - 45458n + 213589) is prime.
4
0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 51, 52, 53, 54, 62, 65, 67, 70, 72, 73, 74, 75, 84, 85, 86, 90, 92
OFFSET
1,3
COMMENTS
50 is the smallest number not in this sequence.
LINKS
Eric Weisstein's World of Mathematics, Prime-Generating Polynomials
EXAMPLE
4 is in this sequence since abs(4^4 - 97*4^3 + 3294*4^2 - 45458*4 + 213589) = abs(256-6208+52704-181832+213589) = 78509 is prime.
MATHEMATICA
Select[Range[0, 100], PrimeQ[#^4 - 97#^3 + 3294#^2 - 45458# + 213589] &]
PROG
(PARI) is(n)=isprime(abs(n^4-97*n^3+3294*n^2-45458*n+213589)) \\ Charles R Greathouse IV, Feb 20 2017
KEYWORD
nonn
AUTHOR
Robert Price, Apr 30 2016
STATUS
approved