|
|
A055461
|
|
Square decrescendo subsequences: triangle T(n,k) = (n-k)^2, n >= 1, 0 <= k < n.
|
|
6
|
|
|
1, 4, 1, 9, 4, 1, 16, 9, 4, 1, 25, 16, 9, 4, 1, 36, 25, 16, 9, 4, 1, 49, 36, 25, 16, 9, 4, 1, 64, 49, 36, 25, 16, 9, 4, 1, 81, 64, 49, 36, 25, 16, 9, 4, 1, 100, 81, 64, 49, 36, 25, 16, 9, 4, 1, 121, 100, 81, 64, 49, 36, 25, 16, 9, 4, 1, 144, 121, 100, 81, 64, 49, 36, 25, 16, 9, 4, 1
(list;
table;
graph;
refs;
listen;
history;
text;
internal format)
|
|
|
OFFSET
|
1,2
|
|
COMMENTS
|
|
|
LINKS
|
|
|
FORMULA
|
G.f. as triangle: x*(1+x)/((1-x*y)*(1-x)^3). - Robert Israel, Jan 18 2018
|
|
EXAMPLE
|
1; 4 1; 9 4 1; 16 9 4 1; etc.
Triangle begins:
1;
4, 1;
9, 4, 1;
16, 9, 4, 1;
25, 16, 9, 4, 1;
36, 25, 16, 9, 4, 1;
49, 36, 25, 16, 9, 4, 1;
64, 49, 36, 25, 16, 9, 4, 1;
81, 64, 49, 36, 25, 16, 9, 4, 1;
100, 81, 64, 49, 36, 25, 16, 9, 4, 1;
...
For n = 7 the row sum is 49 + 36 + 25 + 16 + 9 + 4 + 1 = A000330(7) = 140. The alternating row sum is 49 - 36 + 25 - 16 + 9 - 4 + 1 = A000217(7) = 28.
(End)
|
|
MAPLE
|
for n from 1 to 10 do
seq((n-k)^2, k=0..n-1)
|
|
MATHEMATICA
|
Table[Range[n, 1, -1]^2, {n, 20}]//Flatten (* Harvey P. Dale, Apr 17 2020 *)
|
|
CROSSREFS
|
|
|
KEYWORD
|
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|