login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

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

%I #28 Oct 23 2023 01:38:21

%S 1,4,3,9,8,6,16,15,13,10,25,24,22,19,15,36,35,33,30,26,21,49,48,46,43,

%T 39,34,28,64,63,61,58,54,49,43,36,81,80,78,75,71,66,60,53,45,100,99,

%U 97,94,90,85,79,72,64,55,121,120,118,115,111,106,100,93,85,76,66

%N Triangle read by rows T(n,k) = n^2 - binomial(k+1,2), n>=1, k<n.

%C T(n,k) is the number of points in a rhombus that has 1 point in the first row, then 2 in the second, and following until the n-th row with n points, and then n-1 in the following row, n-2 in the following to end with a row with k+1 points.

%C T(n,0) are the perfect squares (A000290).

%C T(n,n-1) are the triangular numbers (A000217).

%H Joan Llobera Querol, <a href="/A365904/b365904.txt">Table of n, a(n) for n = 1..10000</a>

%H Zach Wissner-Gross, <a href="https://thefiddler.substack.com/p/can-you-shape-the-peloton">Can You Shape the Peloton?</a>, Fiddler on the Proof, Sep 22, 2023.

%F G.f.: x*(1 + x - 4*x^2*y + x^3*y^2 + x^4*y^2)/((1 - x)^3*(1 - x*y)^3). - _Stefano Spezia_, Oct 05 2023

%e Triangle begins:

%e 1;

%e 4, 3;

%e 9, 8, 6;

%e 16, 15, 13, 10;

%e 25, 24, 22, 19, 15;

%e 36, 35, 33, 30, 26, 21;

%e 49, 48, 46, 43, 39, 34, 28;

%e 64, 63, 61, 58, 54, 49, 43, 36;

%e 81, 80, 78, 75, 71, 66, 60, 53, 45;

%e 100, 99, 97, 94, 90, 85, 79, 72, 64, 55;

%e ...

%Y Row sums give A004068.

%Y Cf. A214859.

%K nonn,tabl

%O 1,2

%A _Joan Llobera Querol_, Sep 22 2023