%I #4 Oct 31 2020 07:07:13
%S 1,2,3,4,5,6,7,8,1,2,3,4,5,6,7,8,9,2,3,4,5,6,7,8,9,10,3,4,5,1,2,3,4,5,
%T 6,4,5,6,2,3,4,5,6,7,5,6,7,3,4,5,6,7,8,6,7,8,4,5,6,2,3,4,5,6,7,5,6,7,
%U 3,1,2,3,4,5,6,7,8,4,2,3,4,5,6,7,8,9,5,3,4,3,4,5,6,7,8,6,4,5,4,2,3
%N Least number of octagonal pyramidal numbers needed to represent n.
%H Eric Weisstein's World of Mathematics, <a href="https://mathworld.wolfram.com/PyramidalNumber.html">Pyramidal Number</a>
%H <a href="/index/Ps#pyramidal_numbers">Index to sequences related to pyramidal numbers</a>
%Y Cf. A002414, A104246, A338458, A338481, A338493, A338494, A338495.
%K nonn
%O 1,2
%A _Ilya Gutkovskiy_, Oct 31 2020