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.

A095831 Triangle read by rows: T(n,k) = (n-k)^2, n>=1, 1<=k<=n.

Original entry on oeis.org

0, 1, 0, 4, 1, 0, 9, 4, 1, 0, 16, 9, 4, 1, 0, 25, 16, 9, 4, 1, 0, 36, 25, 16, 9, 4, 1, 0, 49, 36, 25, 16, 9, 4, 1, 0, 64, 49, 36, 25, 16, 9, 4, 1, 0, 81, 64, 49, 36, 25, 16, 9, 4, 1, 0, 100, 81, 64, 49, 36, 25, 16, 9, 4, 1, 0, 121, 100, 81, 64, 49, 36, 25, 16, 9, 4, 1, 0, 144, 121, 100, 81
Offset: 1

Views

Author

Herman Jamke (hermanjamke(AT)fastmail.fm), Jul 10 2004

Keywords

Comments

Alternating row sums give A000217. - Omar E. Pol, Jan 26 2014
Row sums give A000330. - Omar E. Pol, Jan 27 2014

Examples

			From _Omar E. Pol_, Jan 27 2011: (Start)
0;
1,    0;
4,    1,  0;
9,    4,  1,  0;
16,   9,  4,  1,  0;
25,  16,  9,  4,  1,  0;
36,  25, 16,  9,  4,  1,  0;
49,  36, 25, 16,  9,  4,  1,  0;
64,  49, 36, 25, 16,  9,  4,  1,  0;
81,  64, 49, 36, 25, 16,  9,  4,  1,  0;
100, 81, 64, 49, 36, 25, 16,  9,  4,  1,  0;
...
For n = 8 the row sum is 49 + 36 + 25 + 16 + 9 + 4 + 1 + 0 = A000330(8-1) = 140. The alternating row sum is 49 - 36 + 25 - 16 + 9 - 4 + 1 - 0 = A000217(8-1) = 28.
(End)
		

Crossrefs

Cf. A055461.