OFFSET
1,1
LINKS
Amiram Eldar, Table of n, a(n) for n = 1..214
FORMULA
a(n) = -1 + Product_{k=1..n-1} A087898(k).
a(n) == 9 (mod 10) for n>1. - Sam Alexander, Jan 06 2005
MATHEMATICA
s = {}; ps = {2}; Do[r = Times @@ ps; p = ps[[-1]]; While[p = NextPrime[p]; ! PrimeQ[r*p - 1]]; AppendTo[ps, p]; AppendTo[s, r*p - 1], {15}]; s (* Amiram Eldar, Jan 19 2023 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
Lekraj Beedassy, Oct 14 2003
EXTENSIONS
a(14) from Sam Alexander, Jan 06 2005
More terms from Amiram Eldar, Jan 19 2023
STATUS
approved