cp's OEIS Frontend

This is a front-end for the Online Encyclopedia of Integer Sequences, made by Christian Perfect. The idea is to provide OEIS entries in non-ancient HTML, and then to think about how they're presented visually. The source code is on GitHub.

A109047 a(n) = lcm(n, 6).

Original entry on oeis.org

0, 6, 6, 6, 12, 30, 6, 42, 24, 18, 30, 66, 12, 78, 42, 30, 48, 102, 18, 114, 60, 42, 66, 138, 24, 150, 78, 54, 84, 174, 30, 186, 96, 66, 102, 210, 36, 222, 114, 78, 120, 246, 42, 258, 132, 90, 138, 282, 48, 294, 150, 102, 156, 318, 54, 330, 168, 114, 174, 354
Offset: 0

Views

Author

Mitch Harris, Jun 18 2005

Keywords

Crossrefs

Programs

Formula

a(n) = n*6/gcd(n, 6).
From R. J. Mathar, Apr 18 2011: (Start)
a(n) = 2*a(n-6) - a(n-12) = 6*A060789(n) = 6*n/A089128(n).
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