S000931


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

0, 1, 2, 3, 5, 7, 11, 14, 20, 26, 34, 43, 55, 66, 81, 96, 114, 131, 152, 170, 192, 211, 233, 250, 271, 285, 303, 314, 327, 333, 343, 344, 348, 347, 347, 341, 340, 332, 328, 320, 315, 307, 304, 295, 294, 288, 287, 283, 285, 282, 285, 285, 289, 291, 295, 300

0

S000931

The first zero term is for n = 332217.

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, 6, Rest[repNums]]], {n, 5000}]]

Cf. S000925-S000930.

nonn,base

T. D. Noe, Jul 27 2016

© Tony D Noe 2014-2016