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,0,0,2,0,0,0,0,0,0,0,-1).
FORMULA
a(n) = n*8/gcd(n, 8).
From R. J. Mathar, Apr 18 2011: (Start)
G.f.: 8*x*(x^2-x+1)*(x^12 + 2*x^11 + 4*x^10 + 3*x^9 + 4*x^8 + 4*x^7 + 7*x^6 + 4*x^5 + 4*x^4 + 3*x^3 + 4*x^2 + 2*x + 1) / ( (x-1)^2 *(1+x)^2 *(x^2+1)^2 *(x^4+1)^2 ).
Sum_{k=1..n} a(k) ~ (43/16) * n^2. - Amiram Eldar, Nov 26 2022
MATHEMATICA
LCM[Range[0, 60], 8] (* Harvey P. Dale, May 03 2019 *)
PROG
(Sage) [lcm(n, 8)for n in range(0, 59)] # Zerinvary Lajos, Jun 09 2009
(Magma) [Lcm(n, 8): n in [0..100]]; // Vincenzo Librandi, Apr 18 2011
CROSSREFS
KEYWORD
nonn,easy
AUTHOR
Mitch Harris, Jun 18 2005
STATUS
approved