OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..5000
Ralf W. Grosse-Kunstleve, Origin of EIS sequences A045895 & A045896. [Wayback Machine copy]
FORMULA
From Amiram Eldar, Sep 14 2022: (Start)
a(n) = n*(n-1) for n even.
a(n) = 2*n*(n-1) for n odd.
a(n) = lcm(2*n-2, n).
a(n) = 2*A045896(n-2).
Sum_{n>=2} 1/a(n) = (log(2)+1)/2. (End)
MATHEMATICA
Table[ LCM[ 2*n-2, n ], {n, 40} ]
PROG
(PARI) for(n=1, 50, print1(lcm(2*n-2, n), ", ")) \\ G. C. Greubel, Jun 15 2018
(Magma) [Lcm(2*n-2, n): n in [1..50]]; // G. C. Greubel, Jun 15 2018
CROSSREFS
KEYWORD
nonn
AUTHOR
STATUS
approved