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
KEYWORD
nonn
AUTHOR
Arkadiusz Wesolowski, Nov 18 2012
EXTENSIONS
a(26)-a(30) from Jason Yuen, May 24 2024
STATUS
approved