A332016 Number of compositions (ordered partitions) of n into distinct octagonal numbers.
1, 1, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 2, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 1, 2, 0, 0, 0, 0, 0, 0, 2, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 6, 0, 0, 1, 2, 0, 0, 6, 24, 0, 0, 2, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 2, 6
Offset: 0
Keywords
Examples
a(30) = 6 because we have [21, 8, 1], [21, 1, 8], [8, 21, 1], [8, 1, 21], [1, 21, 8] and [1, 8, 21].
Links
- Eric Weisstein's World of Mathematics, Octagonal Number
- Index entries for sequences related to compositions