OFFSET
1,1
LINKS
Reinhard Zumkeller, Table of n, a(n) for n = 1..650
Hans Riesel, Some large prime numbers. Translated from the Swedish original (NĂ¥gra stora primtal, Elementa 39 (1956), pp. 258-260) by Lars Blomberg.
MATHEMATICA
getm[n_]:=Module[{m=0}, While[!PrimeQ[n 2^m-1], m++]; n 2^m-1]; Array[getm, 80] (* Harvey P. Dale, Apr 24 2011 *)
PROG
(Haskell)
a038699 = until ((== 1) . a010051) ((+ 1) . (* 2)) . (subtract 1)
-- Reinhard Zumkeller, Mar 05 2012
CROSSREFS
KEYWORD
nonn,nice
AUTHOR
N. J. A. Sloane, Dec 30 1999
EXTENSIONS
More terms from Henry Bottomley, Apr 24 2001
STATUS
approved