A330466 Irregular triangle read by rows: T(n,k) is the number of parts in the partition of n into k consecutive parts that differ by 2, n >= 1, k >= 1, and the first element of column k is in row k^2.
1, 1, 1, 1, 2, 1, 0, 1, 2, 1, 0, 1, 2, 1, 0, 3, 1, 2, 0, 1, 0, 0, 1, 2, 3, 1, 0, 0, 1, 2, 0, 1, 0, 3, 1, 2, 0, 4, 1, 0, 0, 0, 1, 2, 3, 0, 1, 0, 0, 0, 1, 2, 0, 4, 1, 0, 3, 0, 1, 2, 0, 0, 1, 0, 0, 0, 1, 2, 3, 4, 1, 0, 0, 0, 5, 1, 2, 0, 0, 0, 1, 0, 3, 0, 0, 1, 2, 0, 4, 0, 1, 0, 0, 0, 0, 1, 2, 3, 0, 5, 1, 0, 0, 0, 0
Offset: 1
Examples
Triangle begins (rows 1..25): 1; 1; 1; 1, 2; 1, 0; 1, 2; 1, 0; 1, 2; 1, 0, 3; 1, 2, 0; 1, 0, 0; 1, 2, 3; 1, 0, 0; 1, 2, 0; 1, 0, 3; 1, 2, 0, 4; 1, 0, 0, 0; 1, 2, 3, 0; 1, 0, 0, 0; 1, 2, 0, 4; 1, 0, 3, 0; 1, 2, 0, 0; 1, 0, 0, 0; 1, 2, 3, 4; 1, 0, 0, 0, 5; ... For n = 16 there are three partitions of 16 into consecutive parts that differ by 2, including 16 as a partition. They are [16], [9, 7] and [7, 5, 3, 1]. The number of parts of these partitions are 1, 2 and 4 respectively, so the 16th row of the triangle is [1, 2, 0, 4].
Crossrefs
Formula
T(n,k) = k*A303300(n,k).
Comments