23.8k views
0 votes
How many positive numbers from 1 to 999 have the sum of their digits equal to 8? g?

User Tom Bates
by
7.6k points

1 Answer

3 votes

The largest number that can have this property is 800. I can do this by brute force which means I can let a program get the answer. There are 45 of them. I won't list them all, but the list is correct.

8 17 26 35 44 53 62 71 80 107 are the first 10.

User Terrence Brannon
by
7.1k points