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!)
A141239 Sequence of k such that starting with P(0) = 29 then k(n)*P(n-1)*(k(n)*P(n-1)-1)-1 is the least prime = P(n). 4
1, 2, 16, 3, 9, 11, 136, 219, 51, 1428 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..10.

EXAMPLE

1*29*(1*29-1)-1 = 811 (prime) so k(1) = 1, P(1) = 811.

PROG

(PARI) P=29; 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

Cf. A141233-A141240.

Sequence in context: A145684 A254637 A197226 * A303990 A095860 A070654

Adjacent sequences:  A141236 A141237 A141238 * A141240 A141241 A141242

KEYWORD

nonn

AUTHOR

Pierre CAMI, Jun 16 2008

EXTENSIONS

a(10) from Charles R Greathouse IV, Dec 27 2011

STATUS

approved

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 September 30 11:58 EDT 2022. Contains 357105 sequences. (Running on oeis4.)