login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A114368
Smallest prime in kx^3+x+4 is prime.
0
5, 7, 509, 11, 13, 277, 17, 19, 439, 23, 547, 601, 29, 31, 10301, 37, 4259, 41, 43, 1087, 47, 32089, 1249, 53, 168769, 175519, 59, 61, 77213, 1627, 67, 8009, 71, 73, 51043, 1951, 79, 703861, 83, 10009, 2221, 89, 1046389, 2383, 2437, 97, 68539, 101, 103
OFFSET
0,1
COMMENTS
Primes exist in this sequence for all k.
PROG
(PARI) g2(n, p) = for(k=1, n, for(x=1, n, y=k*x^3+x+p; if(isprime(y), print1(y", "); break)))
CROSSREFS
Sequence in context: A159019 A059394 A176960 * A260830 A260827 A020467
KEYWORD
easy,nonn
AUTHOR
Cino Hilliard, Feb 09 2006
STATUS
approved