How many numbers from 1 to 10000 have the property that the sum of the digits is equal to 3?
3 12 21 30 102 111 120 201 210 300 1002 1011 1020 1101 1110 1200 2001 2010 2100 3000 Total = 20 such numbers.