A331984 Number of compositions (ordered partitions) of n into distinct square pyramidal numbers.
1, 1, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 2, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 2, 6, 0, 0, 0, 0, 0, 0, 0, 2, 6, 0, 0, 0, 6, 24, 0, 0, 0, 0, 1, 2, 0, 0, 0, 2, 6, 0, 0, 0, 0, 0, 0, 0, 2, 6, 0, 0, 0, 6, 24, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 6, 0, 0, 0, 6, 25
Offset: 0
Keywords
Examples
a(20) = 6 because we have [14, 5, 1], [14, 1, 5], [5, 14, 1], [5, 1, 14], [1, 14, 5] and [1, 5, 14].
Links
- Eric Weisstein's World of Mathematics, Square Pyramidal Number
- Index entries for sequences related to compositions
- Index entries for sequences related to sums of squares