OFFSET
1,2
COMMENTS
Under the Bunyakovsky conjecture, a(n) exists for every n. [Charles R Greathouse IV, Dec 27 2011]
EXAMPLE
1*31*(1*31-1)-1=929 prime so k(1)=1 P(1)=929
PROG
(PARI) P=31; for(i=1, 20, k=0; while(!ispseudoprime(t=k++*P*(k*P-1)-1), ); P=t; print1(k", ")) \\ Charles R Greathouse IV, Dec 27 2011
CROSSREFS
KEYWORD
nonn
AUTHOR
Pierre CAMI, Jun 16 2008
EXTENSIONS
a(9)-a(10) from Charles R Greathouse IV, Dec 27 2011
STATUS
approved