OFFSET
0,2
LINKS
Amiram Eldar, Table of n, a(n) for n = 0..10000
Index entries for linear recurrences with constant coefficients, signature (0,0,0,0,0,2,0,0,0,0,0,-1).
FORMULA
a(n) = n*6/gcd(n, 6).
From R. J. Mathar, Apr 18 2011: (Start)
G.f.: 6*x*(1+x+x^2+2*x^3+5*x^4+x^5+5*x^6+2*x^7+x^8+x^9+x^10) / ( (x-1)^2*(1+x)^2*(1+x+x^2)^2*(x^2-x+1)^2 ). (End)
Sum_{k=1..n} a(k) ~ (7/4) * n^2. - Amiram Eldar, Nov 26 2022
MATHEMATICA
LCM[Range[0, 60], 6] (* Harvey P. Dale, Nov 20 2022 *)
PROG
(Sage) [lcm(n, 6)for n in range(0, 60)] # Zerinvary Lajos, Jun 07 2009
(Magma) [Lcm(n, 6): n in [0..100]]; // Vincenzo Librandi, Apr 18 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mitch Harris, Jun 18 2005
STATUS
approved