login

Reminder: The OEIS is hiring a new managing editor, and the application deadline is January 26.

Least number of pentagonal pyramidal numbers needed to represent n.
5

%I #5 Oct 30 2020 22:57:12

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

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

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

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

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

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

%Y Cf. A002411, A100878, A104246, A338491, A338493, A338495.

%K nonn

%O 1,2

%A _Ilya Gutkovskiy_, Oct 30 2020