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.

A093919 Consider the triangle in A004736, the k-th term of the n-th row is the LCM of the preceding k terms.

Original entry on oeis.org

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

Views

Author

Amarnath Murthy, Apr 25 2004

Keywords

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
		

Crossrefs

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