Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.
%I #5 Feb 04 2020 21:43:48
%S 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,
%T 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,
%U 0,0,0,0,0,2,6,0,0,0,0,0,6,25,2
%N Number of compositions (ordered partitions) of n into distinct heptagonal numbers.
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/HeptagonalNumber.html">Heptagonal Number</a>
%H <a href="/index/Com#comp">Index entries for sequences related to compositions</a>
%e 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].
%Y Cf. A000566, A279012, A279280, A322799, A331843, A331844, A332007, A332014, A332016.
%K nonn
%O 0,9
%A _Ilya Gutkovskiy_, Feb 04 2020