login
Least number of heptagonal pyramidal numbers needed to represent n.
1

%I #21 Oct 31 2020 07:07:06

%S 1,2,3,4,5,6,7,1,2,3,4,5,6,7,8,2,3,4,5,6,7,8,9,3,4,1,2,3,4,5,6,4,5,2,

%T 3,4,5,6,7,5,6,3,4,5,6,7,8,6,7,4,5,2,3,4,5,6,7,5,6,1,2,3,4,5,6,6,7,2,

%U 3,4,5,6,7,7,8,3,4,3,4,5,6,7,8,4,5,2,3,4,5,6,7,5,6,3,4,5,6,7,8,6,7

%N Least number of heptagonal pyramidal numbers needed to represent n.

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

%H <a href="/index/Ps#pyramidal_numbers">Index to sequences related to pyramidal numbers</a>

%Y Cf. A002413, A104246, A338480, A338492, A338493, A338494, A338495, A338496.

%K nonn

%O 1,2

%A _Ilya Gutkovskiy_, Oct 31 2020