OFFSET
1,5
COMMENTS
a(n) is always an odd prime power, A061345.
MATHEMATICA
f[n_] := LCM @@ Range[n]/Denominator[HarmonicNumber[n]]; Table[ LCM[f[n], f[n + 1]]/GCD[f[n], f[n + 1]], {n, 104}]
PROG
(PARI) f(n) = lcm(vector(n, k, k))/denominator(sum(k=1, n, 1/k));
a(n) = my(x = f(n+1)/f(n)); if (x > 1, x, 1/x); \\ Michel Marcus, Mar 07 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
Robert G. Wilson v, Sep 17 2005
STATUS
approved