1 is the sum of 1 repdigit: 1;
10 is the sum of 2 repdigits: 9 + 1;
21 is the sum of 3 repdigits: 11 + 9 + 1;
320 is the sum of 4 repdigits: 222 + 88 + 9 + 1;
2219 is the sum of 5 repdigits: 1111 + 999 + 99 + 9 + 1;
32218 is the sum of 6 repdigits: 22222 + 8888 + 999 + 99 + 9 + 1;
332217 is the sum of 7 repdigits: 222222 + 99999 + 8888 + 999 + 99 + 9 + 1.
All numbers less than 10 can be summed with less than 2 repdigits.
All numbers less than 21 can be summed with less than 3 repdigits. etc.
|