OFFSET
0,2
FORMULA
EXAMPLE
n=4: LCM{1,2,3,4} = 12, so a(4) = 12*(1/1 + 1/1 + 1/2 + 1/3 + 1/12) = 12*35/12 = 35. - N. J. A. Sloane, Sep 04 2019
PROG
(PARI) s(n) = lcm([1..n])/n; \\ A002944
a(n) = lcm([1..n])*sum(k=1, n+1, 1/s(k)); \\ Michel Marcus, Sep 04 2019
CROSSREFS
KEYWORD
nonn
AUTHOR
EXTENSIONS
Name improved by Sean A. Irvine, Sep 04 2019 and N. J. A. Sloane, Sep 04 2019
STATUS
approved