The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
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!)
A118257 Numbers n such that A118255(n) is prime. 5
2, 6, 8, 10, 18, 26, 30, 74, 142, 203, 398, 651, 792, 1314, 3487, 5978, 6240, 7814, 8054, 8673, 21436, 23947 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
COMMENTS
A118255(1314) is prime with 396 digits
A118255(23947) is a probable prime with 7209 digits. - Giovanni Resta, Apr 26 2006
LINKS
EXAMPLE
A118255(2)=2 prime, A118255(6)=149 prime, A118255(8)=599 prime.
MATHEMATICA
A118255[n_] := Module[{},
If[n == 1, A118255[1] = 1,
If[PrimeQ[n], A118255[n] = 2 A118255[n - 1],
A118255[n] = 2 A118255[n - 1] + 1]]];
Select[Range[5000], PrimeQ[A118255[#]] &] (* Robert Price, Apr 03 2019 *)
CROSSREFS
Sequence in context: A358428 A084909 A038619 * A066762 A066198 A362667
KEYWORD
nonn,more
AUTHOR
Pierre CAMI, Apr 19 2006
EXTENSIONS
a(15)-a(22) from Giovanni Resta, Apr 26 2006
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 May 19 03:29 EDT 2024. Contains 372666 sequences. (Running on oeis4.)