login
A141234
Sequence of k such that starting with P(0)=11 then k(n)*P(n-1)*(k(n)*P(n-1)-1)-1 is the least prime = P(n).
2
1, 5, 3, 11, 74, 93, 139, 511, 641, 1166
OFFSET
1,2
EXAMPLE
1*11*(1*11-1)-1=109 is a prime so k(1)=1 P(1)=109.
PROG
(PARI) P=11; for(i=1, 20, k=0; while(!ispseudoprime(t=k++*P*(k*P-1)-1), ); P=t; print1(k", ")) \\ Michel Marcus, Sep 16 2019 ; after A141240
KEYWORD
nonn,more
AUTHOR
Pierre CAMI, Jun 16 2008
EXTENSIONS
a(9) from Michel Marcus, Sep 17 2019
a(10) from Jinyuan Wang, Sep 17 2019
STATUS
approved