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”).
%I #5 Oct 30 2020 22:57:05
%S 1,2,3,4,1,2,3,4,5,2,3,4,5,1,2,3,4,5,2,3,4,5,6,3,4,5,6,2,3,1,2,3,3,4,
%T 2,3,4,4,5,3,4,3,4,2,3,4,4,5,3,4,5,5,6,4,1,2,3,3,4,2,3,4,4,5,3,4,5,5,
%U 2,3,4,4,5,3,4,5,5,6,4,5,6,6,3,4,2,3,4,4,5,3,1,2,3,4,4,2,3,4,3,4,3
%N Least number of square pyramidal numbers needed to represent n.
%H Eric Weisstein's World of Mathematics, <a href="http://mathworld.wolfram.com/SquarePyramidalNumber.html">Square Pyramidal Number</a>
%H <a href="/index/Ps#pyramidal_numbers">Index to sequences related to pyramidal numbers</a>
%Y Cf. A000330, A002828, A104246, A338484, A338494, A338495.
%K nonn
%O 1,2
%A _Ilya Gutkovskiy_, Oct 30 2020