login

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

Smallest prime in kx^3+x+5 is prime.
0

%I #3 Oct 01 2013 17:58:23

%S 7,7,23,31,11,1307,13,71,79,393079,17,103,19,81671,127,1033,23,151,

%T 521,167,4547,128327,29,199,31,71363,223,1801,239,6491,37,263,271,

%U 362059,41,43,311,1061,163861,47,21517,250799,359,367,2953,53,131731,107671,3209

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

%C Primes exist in this sequence for all k.

%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