OFFSET
1,1
MATHEMATICA
f[p_] := Module[{k = 2, q = 2}, While[!PrimeQ[k + p], q = NextPrime[q]; k *= q]; q]; f /@ (2^MersennePrimeExponent[Range[10]] - 1) (* Amiram Eldar, Jul 23 2021 *)
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Pierre CAMI, Sep 15 2004
EXTENSIONS
a(21)-a(27) from Amiram Eldar, Jul 23 2021
STATUS
approved