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