A334540 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 5, n >= 1, k >= 1, and the first element of column k is in the row that is the k-th heptagonal number (A000566).
1, 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, 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, 1, 0, 0, 1, 2, 3, 1, 0, 0, 4, 1, 2, 0, 0, 1, 0, 3, 0, 1, 2, 0, 0, 1, 0, 0, 4, 1, 2, 3, 0, 1, 0, 0, 0, 1
Offset: 1
Examples
Triangle begins (rows 1..27): 1; 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; 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; ... For n = 27 there are three partitions of 27 into consecutive parts that differ by 5, including 27 as a valid partition. They are [27], [16, 11] and [14, 9, 4]. The number of parts of these partitions are 1, 2, 3 respectively, so the 27th row of the triangle is [1, 2, 3].
Crossrefs
Programs
-
Maple
A334540 := proc(n,k) k*A334465(n,k) ; end proc: # R. J. Mathar, Oct 02 2020
Formula
T(n,k) = k*A334465(n,k).
Comments