[go: up one dir, main page]

login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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
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
AUTHOR
EXTENSIONS
a(26)-a(30) from Jason Yuen, May 24 2024
STATUS
approved