login
Number of compositions (ordered partitions) of n into distinct hexagonal numbers.
2

%I #6 Feb 16 2025 08:33:59

%S 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,

%T 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,

%U 26,0,0,0,0,2,8,6,0,0,0,0,6,24

%N Number of compositions (ordered partitions) of n into distinct hexagonal numbers.

%H Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/HexagonalNumber.html">Hexagonal Number</a>

%H <a href="/index/Com#comp">Index entries for sequences related to compositions</a>

%e 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].

%Y Cf. A000384, A278949, A279279, A322798, A331843, A331844, A332007, A332015, A332016.

%K nonn,changed

%O 0,8

%A _Ilya Gutkovskiy_, Feb 04 2020