A334462 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 4, n >= 1, k >= 1, and the first element of column k is in the row that is the k-th hexagonal number (A000384).
1, 1, 1, 1, 1, 1, 2, 1, 0, 1, 2, 1, 0, 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, 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, 1, 2, 0
Offset: 1
Examples
Triangle begins (rows 1..28): 1; 1; 1; 1; 1; 1, 2; 1, 0; 1, 2; 1, 0; 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; 1, 0, 0; 1, 2, 3; 1, 0, 0; 1, 2, 0; 1, 0, 3; 1, 2, 0, 4; ... For n = 28 there are three partitions of 28 into consecutive parts that differ by 4, including 28 as a valid partition. They are [28], [16, 12] and [13, 9, 5, 1]. The number of parts of these partitions are 1, 2, 4 respectively, so the 28th row of the triangle is [1, 2, 0, 4].
Crossrefs
Formula
T(n,k) = k*A334460(n,k).
Comments