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