login
This site is supported by donations to The OEIS Foundation.
Logo

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A141238 Sequence of k such that starting with P(0)=23 then k(n)*P(n-1)*(k(n)*P(n-1)-1)-1 is the least prime = P(n). 3
2, 1, 2, 37, 16, 181, 220, 273, 959, 1151 (list; graph; refs; listen; history; internal format)
OFFSET

1,1

EXAMPLE

1*23*(1*23-1)-1=505 composite

2*23*(2*23-1)-1=2069 prime so k(1)=2 P(1)=2069

PROG

(PARI) P=23; 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: A136156 A191657 A155796 * A094690 A010249 A177438

Adjacent sequences:  A141235 A141236 A141237 * A141239 A141240 A141241

KEYWORD

nonn

AUTHOR

Pierre CAMI (pierre-cami(AT)bbox.fr), Jun 16 2008

EXTENSIONS

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 | Transforms | Puzzles | Hot | Classics
Recent Additions | More pages | Superseeker | Maintained by The OEIS Foundation Inc.

Content is available under The OEIS End-User License Agreement .

Last modified February 17 10:05 EST 2012. Contains 206009 sequences.