login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

Number of compositions (ordered partitions) of n into distinct square pyramidal numbers.
2

%I #5 Feb 03 2020 22:19:52

%S 1,1,0,0,0,1,2,0,0,0,0,0,0,0,1,2,0,0,0,2,6,0,0,0,0,0,0,0,0,0,1,2,0,0,

%T 0,2,6,0,0,0,0,0,0,0,2,6,0,0,0,6,24,0,0,0,0,1,2,0,0,0,2,6,0,0,0,0,0,0,

%U 0,2,6,0,0,0,6,24,0,0,0,0,0,0,0,0,0,2,6,0,0,0,6,25

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

%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/SquarePyramidalNumber.html">Square Pyramidal Number</a>

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

%H <a href="/index/Su#ssq">Index entries for sequences related to sums of squares</a>

%e a(20) = 6 because we have [14, 5, 1], [14, 1, 5], [5, 14, 1], [5, 1, 14], [1, 14, 5] and [1, 5, 14].

%Y Cf. A000330, A279220, A298246, A322340, A331844, A331919.

%K nonn

%O 0,7

%A _Ilya Gutkovskiy_, Feb 03 2020