OFFSET
1,2
MATHEMATICA
mexp = {the list in A000043}; f[n_] := Block[{k = 2, mp = 2^mexp[[n]] - 1}, While[ !PrimeQ[mp*k - 1] && k < 10000, k++ ]; If[k == 10000, 0, k]]; Do[ Print[ f[n]], {n, 22}] (* Robert G. Wilson v, Sep 17 2004 *)
CROSSREFS
KEYWORD
hard,nonn
AUTHOR
Pierre CAMI, Sep 14 2004
EXTENSIONS
More terms from Pierre CAMI, Jan 17 2005
a(1)=1, a(23)=890, a(27)=7272 corrected, other terms through a(28)=92372 verified by Ray Chandler, Apr 16 2009
STATUS
approved