A081528 a(n) = n*lcm{1,2,...,n}.
1, 4, 18, 48, 300, 360, 2940, 6720, 22680, 25200, 304920, 332640, 4684680, 5045040, 5405400, 11531520, 208288080, 220540320, 4423058640, 4655851200, 4888643760, 5121436320, 123147264240, 128501493120, 669278610000, 696049754400
Offset: 1
Examples
a(2) = 4 because the least common multiple of 1 and 2 is 2, and 2 * 2 = 4. a(3) = 18 because lcm(1,2,3) = 6, and 3 * 6 = 18. a(4) = 48 because lcm(1, 2, 3, 4) = 12, and 4 * 12 = 48.
Programs
-
Derive
a(n) := (n + 1)*LCM(VECTOR(k + 1, k, 0, n)) " Paul Barry, Aug 06 2004 "
-
Mathematica
Table[n*LCM@@Range[n], {n, 30}] (* Harvey P. Dale, Oct 09 2012 *)
-
PARI
l=vector(35); l[1]=1; print1("1, "); for(n=2,35, l[n]=lcm(l[n-1],n); print1(n*l[n],", ")) \\ Rick L. Shepherd, Aug 21 2006
Formula
a(n) = A003418(n) * n. - Martin Fuller, Jan 03 2006
Extensions
More terms from Paul Barry, Aug 06 2004
Entry revised by N. J. A. Sloane, Jan 15 2006
Comments