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
8.2k 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.6k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories