login
The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A114366 Smallest prime in kx^3+x+2 is prime. 0

%I

%S 3,5,7,167,11,13,17,19,491,23,599,653,29,31,21881,4007,37,977,41,43,

%T 141767,47,15787,1301,53,1409,71887,59,61,7507,7757,67,1787,71,73,

%U 1949,2003,79,2111,83,276767,2273,89,2381,11257,67079,97,12007,101,103,12757

%N Smallest prime in kx^3+x+2 is prime.

%C Primes exist in this sequence for all k. If x is allowed to be 0, then we get the sequence 2,2,2,2,2,2,...

%o (PARI) g2(n,p) = for(k=1,n,for(x=1,n,y=k*x^3+x+p;if(isprime(y),print1(y",");break)))

%K easy,nonn

%O 0,1

%A _Cino Hilliard_, Feb 09 2006

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 1 10:33 EDT 2020. Contains 333159 sequences. (Running on oeis4.)