OFFSET
1,2
LINKS
Michael De Vlieger, Table of n, a(n) for n = 1..341
FORMULA
a(n) = a(n-1) * A112037(n), n >= 2. - David A. Corneth, Apr 27 2021
MATHEMATICA
Prepend[FoldList[Times, DeleteDuplicates[Rest[Flatten[FactorInteger[#][[All, 1]]&/@(Prime[Range[100]]-1)]]]], 1] (* Jamie Morken, Apr 27 2021 after Harvey P. Dale at A112037, May 26 2019 *)
PROG
(PARI) f(n) = my(pr=prod(k=1, n, prime(k))); gcd(pr, eulerphi(pr)); \\ A058250
lista(nn) = Set(vector(nn, k, f(k))); \\ Michel Marcus, Apr 27 2021
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Labos Elemer, May 21 2002
STATUS
approved