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.

A352242 Regular triangle T(n,k) = (n-k)*(n^3-k^3) for n>=2 and 1 <= k <= n-1, read by rows.

Original entry on oeis.org

7, 52, 19, 189, 112, 37, 496, 351, 196, 61, 1075, 832, 567, 304, 91, 2052, 1675, 1264, 837, 436, 127, 3577, 3024, 2425, 1792, 1161, 592, 169, 5824, 5047, 4212, 3325, 2416, 1539, 772, 217, 8991, 7936, 6811, 5616, 4375, 3136, 1971, 976, 271, 13300, 11907, 10432, 8869, 7236, 5575, 3952, 2457, 1204, 331
Offset: 2

Views

Author

Michel Marcus, Mar 09 2022

Keywords

Examples

			Triangle begins:
     7;
    52,   19;
   189,  112,   37;
   496,  351,  196,  61;
  1075,  832,  567, 304,  91;
  2052, 1675, 1264, 837, 436, 127;
  ...
		

Crossrefs

Cf. A003215 (right diagonal), A138849 (left border).

Programs

  • Mathematica
    Table[(n - k) (n^3 - k^3), {n, 2, 11}, {k, n - 1}] // Flatten (* Michael De Vlieger, Mar 09 2022 *)
  • PARI
    row(n) = vector(n-1, k, (n-k)*(n^3-k^3));

Formula

T(n,k) = A055461(n,k)*A132111(n,k). - R. J. Mathar, Feb 10 2025