Combinatoricshard
0:00.0

How many integers nn in the range 1n10001 \le n \le 1000 have the property that the sum of their digits is exactly 5?