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.

A335821 Triangular array T(n, k) = n^2 - k^2, read by rows.

Original entry on oeis.org

0, 1, 0, 4, 3, 0, 9, 8, 5, 0, 16, 15, 12, 7, 0, 25, 24, 21, 16, 9, 0, 36, 35, 32, 27, 20, 11, 0, 49, 48, 45, 40, 33, 24, 13, 0, 64, 63, 60, 55, 48, 39, 28, 15, 0, 81, 80, 77, 72, 65, 56, 45, 32, 17, 0, 100, 99, 96, 91, 84, 75, 64, 51, 36, 19, 0, 121, 120, 117, 112, 105, 96, 85, 72, 57, 40, 21, 0
Offset: 0

Views

Author

Mokhtar Mohamed, Jun 25 2020

Keywords

Examples

			The triangle begins:
  n\k   0   1   2   3   4   5   6   7   8   9
    0   0
    1   1   0
    2   4   3   0
    3   9   8   5   0
    4  16  15  12   7   0
    5  25  24  21  16   9   0
    6  36  35  32  27  20  11   0
    7  49  48  45  40  33  24  13   0
    8  64  63  60  55  48  39  28  15   0
    9  81  80  77  72  65  56  45  32  17   0
		

Crossrefs

Cf. A257238.

Programs

  • Mathematica
    Table[(n^2 - k^2), {n, 0, 11}, {k, 0, n}] // Flatten (* Michael De Vlieger, Jun 28 2020 *)