How many numbers between 10^6 and 10^7 have a digit sum of 2?
There are 13 such numbers:
100001 100010 100100 101000 110000 200000 1000001 1000010 1000100 1001000 1010000 1100000 2000000 Total = 13 such numbers
Maybe this one should include only 6 numbers between 1,000,000 and 10,000,000. The last 7 in 10,000,000 should NOT be included. Is that right?