Number of pentagonal numbers needed to represent n with greedy algorithm.

A145172

Number of pentagonal numbers needed to represent n with greedy algorithm.

Terms

    a(0) =1a(1) =2a(2) =3a(3) =4a(4) =1a(5) =2a(6) =3a(7) =4a(8) =5a(9) =2a(10) =3a(11) =1a(12) =2a(13) =3a(14) =4a(15) =5a(16) =2a(17) =3a(18) =4a(19) =5a(20) =6a(21) =1a(22) =2a(23) =3a(24) =4a(25) =5a(26) =2a(27) =3a(28) =4a(29) =5

External references