1) How many positive whole numbers less than or equal to 2020 have a sum ofdigits equal to 1 or 2?
Here's what I got :
1 2 11 1010
10 20 101 1100
100 200 110
1000 2000 1001