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

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A141237 Sequence of k such that starting with P(0)=19 then k(n)*P(n-1)*(k(n)*P(n-1)-1)-1 is the least prime = P(n). 3

%I #7 May 13 2013 01:48:49

%S 3,1,9,14,123,39,39,549,96,701

%N Sequence of k such that starting with P(0)=19 then k(n)*P(n-1)*(k(n)*P(n-1)-1)-1 is the least prime = P(n).

%e 1*19*(1*19-1)-1=341 composite

%e 2*19*(2*19-1)-1=1405 composite

%e 3*19*(3*19-1)-1=3191 prime so k(1)=3 P(1)=3191

%o (PARI) P=19;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

%Y Cf. A141233-A141240.

%K nonn

%O 1,1

%A _Pierre CAMI_, Jun 16 2008

%E a(9)-a(10) from _Charles R Greathouse IV_, Dec 27 2011

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | 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 May 9 07:16 EDT 2024. Contains 372346 sequences. (Running on oeis4.)