Question: from 1 to 100 how many times 2 comes?
Answer: So 10+10=20 times. That's the base ten answer. As a general rule, in base n, the digit 2 appears 2n times between 1 and 100, for all base n>2.