login
A141240
Sequence of k such that starting with P(0)=31 then k(n)*P(n-1)*(k(n)*P(n-1)-1)-1 is the least prime = P(n).
7
1, 11, 4, 15, 95, 26, 87, 634, 939, 10386
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