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

 

Logo

Please make a donation to keep the OEIS running. We are now in our 55th year. In the past year we added 12000 new sequences and reached 8000 citations (which often say "discovered thanks to the OEIS"). We need to raise money to hire someone to manage submissions, which would reduce the load on our editors and speed up editing.
Other ways to donate

Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A098471 Least k such that Mersenne-prime(n)*2^k+1 is prime (A000668(n)*2^k+1). 1
1, 2, 8, 2, 12, 864, 4, 10, 8, 72, 18, 38, 2144, 178, 472, 974, 2200, 8128, 4580, 822, 3600, 4100 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

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

MATHEMATICA

mexp = {the list in A000043}; f[n_] := Block[{k = 1, mp = 2^mexp[[n]] - 1}, While[ !PrimeQ[mp*2^k + 1] && k < 10000, k++ ]; If[k == 10000, 0, k]]; Do[ Print[ f[n]], {n, 22}] (* Robert G. Wilson v, Sep 13 2004 *)

CROSSREFS

Cf. A098472.

Sequence in context: A195844 A222828 A222842 * A074723 A286455 A175183

Adjacent sequences:  A098468 A098469 A098470 * A098472 A098473 A098474

KEYWORD

nonn

AUTHOR

Pierre CAMI, Sep 09 2004

EXTENSIONS

a(18)-a(22) from Robert G. Wilson v, Sep 13 2004

STATUS

approved

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified December 7 05:14 EST 2019. Contains 329839 sequences. (Running on oeis4.)