A093919 Consider the triangle in A004736, the k-th term of the n-th row is the LCM of the preceding k terms.
1, 2, 2, 3, 6, 6, 4, 12, 12, 12, 5, 20, 60, 60, 60, 6, 30, 60, 60, 60, 60, 7, 42, 210, 420, 420, 420, 420, 8, 56, 168, 840, 840, 840, 840, 840, 9, 72, 504, 504, 2520, 2520, 2520, 2520, 2520, 10, 90, 360, 2520, 2520, 2520, 2520, 2520, 2520, 2520, 11, 110, 990, 3960
Offset: 1
Examples
T(5,3) = 60 because the fifth row of A004736 has the terms {5 4 3 2 1 }, the first three terms being 5, 4 & 3 which have an LCM of 60. Triangle begins: 1 2 2 3 6 6 4 12 12 12 5 20 60 60 60 6 30 60 60 60 60 7 42 210 420 420 420 420 8 56 168 840 840 840 840 840
Links
- Enrique Pérez Herrero, Rows n=1..100 of triangle, flattened.
Programs
-
Mathematica
T[n_, k_] := LCM @@ Drop[Reverse[Range[n]], (k - n)]; Flatten[ Table[ T[n, k], {n, 11}, {k, n}]] (* Robert G. Wilson v, Apr 27 2004 *)
Extensions
Edited by Robert G. Wilson v, Apr 27 2004