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!)
A219341 Least prime k such that k*2^n + 1 divides 2^k - 1, or 0 if no such prime exists. 0
2, 3, 0, 11, 397, 839, 1459, 2081, 7297, 53849, 3499, 70589, 792277, 20399, 11173873, 929057, 232591, 6782759, 5834299, 26812151, 40269673, 88529891, 368454343, 616767917, 1167319801, 709939943, 38151887029, 38617336361, 23280518791, 168046587719, 882701485339 (list; graph; refs; listen; history; text; internal format)
OFFSET
0,1
COMMENTS
If a(n) > 0, then a(n)*2^n + 1 is in A122094.
LINKS
G. L. Honaker, Jr. and Chris Caldwell, Prime Curios! 232591
Eric Weisstein's World of Mathematics, Mersenne Number
MATHEMATICA
lst = {}; Do[k = 2; If[n == 2, AppendTo[lst, 0], While[True, If[PrimeQ[k], f = k*2^n + 1; If[PrimeQ[f] && PowerMod[2, k, f] == 1, AppendTo[lst, k]; Break[]]]; k++]], {n, 0, 13}]; lst
CROSSREFS
Sequence in context: A012404 A002099 A265514 * A059740 A005160 A085042
KEYWORD
nonn,changed
AUTHOR
EXTENSIONS
a(26)-a(30) from Jason Yuen, May 24 2024
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 29 05:33 EDT 2024. Contains 372921 sequences. (Running on oeis4.)