OFFSET
1,2
LINKS
G. C. Greubel, Table of n, a(n) for n = 1..1000
FORMULA
MATHEMATICA
Table[(2-1/n^2)*(Apply[LCM, Range[n]])^2, {n, 40}] (* G. C. Greubel, Apr 26 2023 *)
PROG
(Magma) [(2-1/n^2)*(Lcm([1..n]))^2: n in [1..40]]; // G. C. Greubel, Apr 26 2023
(SageMath)
def A120079(n): return (2 - 1/n^2)*(lcm(range(1, n+1)))^2
[A120079(n) for n in range(1, 41)] # G. C. Greubel, Apr 26 2023
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Wolfdieter Lang, Jul 20 2006
EXTENSIONS
Terms a(11) onward added by G. C. Greubel, Apr 26 2023
STATUS
approved