A332014 Number of compositions (ordered partitions) of n into distinct hexagonal numbers.
1, 1, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 2, 6, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 2, 6, 0, 0, 0, 0, 0, 0, 0, 2, 6, 1, 2, 0, 0, 6, 24, 2, 6, 0, 0, 0, 0, 0, 0, 0, 2, 6, 0, 0, 0, 0, 7, 26, 0, 0, 0, 0, 2, 8, 6, 0, 0, 0, 0, 6, 24
Offset: 0
Keywords
Examples
a(22) = 6 because we have [15, 6, 1], [15, 1, 6], [6, 15, 1], [6, 1, 15], [1, 15, 6] and [1, 6, 15].
Links
- Eric Weisstein's World of Mathematics, Hexagonal Number
- Index entries for sequences related to compositions