login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 


A141236
Sequence of k such that starting with P(0)=17 then k(n)*P(n-1)*(k(n)*P(n-1)-1)-1 is the least prime = P(n).
3
1, 2, 22, 9, 12, 140, 76, 1376, 49, 1030
OFFSET
1,2
EXAMPLE
1*17*(1*17-1)-1=271 prime so k(1)=1 P(1)=271
PROG
(PARI) P=17; 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

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 20 18:47 EDT 2024. Contains 376075 sequences. (Running on oeis4.)