S000930


Number of ways that number n can be represented as the sum of five nonzero repdigit numbers.

0, 1, 2, 3, 5, 7, 10, 13, 18, 23, 29, 36, 44, 52, 61, 71, 80, 90, 99, 108, 116, 123, 129, 134, 137, 140, 140, 140, 138, 136, 132, 129, 123, 121, 115, 112, 107, 105, 100, 99, 96, 95, 93, 92, 93, 93, 93, 94, 95, 96, 98, 99, 101, 103, 103, 108, 108, 110, 111, 113

0

S000930

The first zero term is for n = 32218.

T. D. Noe, Plot of 5001 terms

T. D. Noe, Table of 5001 terms

Eric W. Weisstein, MathWorld: Repdigit

(Mma) maxLen = 4; repNums = Union[Flatten[Table[FromDigits[Table[a, {len}]], {a, 0, 9}, {len, maxLen}]]]; Join[{0}, Table[Length[IntegerPartitions[n, 5, Rest[repNums]]], {n, 5000}]]

Cf. S000925-S000931.

nonn,base

T. D. Noe, Jul 27 2016

© Tony D Noe 2014-2016