How many different positive integers exist between 10^5 and 10^6, the sum of whose digits is equal to 2?  Choose the correct choice from the following answers
A) 6 B) 7 C) 5 D) 8 E) 18
So, the numbers should be from 100,000 to 1,000,000   The following two cases are possible for the sum of the digits to be 2:   1. Two 1's and the rest are 0's:   100,001   100,010   100,100   101,000   110,000   5numbers.   2. One 2 and the rest are 0's:   200,000   1 number.   Total = 6 numbers.   6nswer: 6
<result>A</result>
How many different positive integers exist between 10^5 and 10^6, the sum of whose digits is equal to 2?