The question is, how many numbers less than 1,000,000 contain the digit 2?
I am getting 600,000. It's too much to type out but I'm using this format.
1 10 10 10 10 10 = 100,000
10 1 10 10 10 10 = ""
10 10 1 10 10 10 = ""
10 10 10 1 10 10 = ""
10 10 10 10 1 10 = ""
10 10 10 10 10 1 = ""
= 600,000

