%I #4 Feb 04 2020 21:43:54
%S 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,
%T 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,
%U 0,6,24,0,0,2,6,0,0,0,0,0,0,0,0,0,0,0,2,6
%N Number of compositions (ordered partitions) of n into distinct octagonal numbers.
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/OctagonalNumber.html">Octagonal Number</a>
%H <a href="/index/Com#comp">Index entries for sequences related to compositions</a>
%e 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].
%Y Cf. A000567, A279041, A279281, A322800, A331843, A331844, A332007, A332014, A332015.
%K nonn
%O 0,10
%A _Ilya Gutkovskiy_, Feb 04 2020