1985 AJHSME Problem 15

Revision as of 20:51, 31 January 2021 by Coolmath34 (talk | contribs) (Created page with "== Problem == How many whole numbers between <math>100</math> and <math>400</math> contain the digit <math>2</math>? <math>\text{(A)}\ 100 \qquad \text{(B)}\ 120 \qquad \tex...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Problem

How many whole numbers between $100$ and $400$ contain the digit $2$?

$\text{(A)}\ 100 \qquad \text{(B)}\ 120 \qquad \text{(C)}\ 138 \qquad \text{(D)}\ 140 \qquad \text{(E)}\ 148$

Solution

There are $100$ numbers from 200 to 299 that have the number 2. In addition, there are 20 numbers that have a units digit of 2 and 20 numbers that have a tens digit of 2. However, we overcounted two numbers, 122 and 322.

Our final count is $100 + 20 + 20 - 2 = \boxed{\text{(C)}\ 138}$ numbers that contain the digit $2.$