🦘 Math Kangaroo Grade All Felix 1-2 Ecolier 3-4 Benjamin 5-6 Kadett 7-8 Junior 9-10 Student 11-12 ⇄ switch contest
2009 Math Kangaroo

Problem 21

Problem 21 · 2009 Math Kangaroo Stretch
Counting & Probability careful-countingplace-value

The rooms in a hotel each have a three-digit number. The first digit gives the floor and the last two digits give the room number on that floor; for example, room 125 is on floor 1, room 25. The hotel has 5 floors (1 to 5) with 35 rooms on each floor, so floor 1 has rooms 101 to 135, and so on. How many times does the digit 2 appear in all the room numbers of the hotel?

Show answer
Answer: E — 105 times
Show hints
Hint 1 of 2
Split a room number into the floor digit and the two room digits, and count the 2s place by place.
Still stuck? Show hint 2 →
Hint 2 of 2
Count 2s in the hundreds, tens and units across floors 1–5 and rooms 01–35.
Show solution
Approach: count by digit place
  1. Rooms run 101–135, 201–235, …, 501–535: 175 rooms in all.
  2. Hundreds place: a 2 appears on the whole 2nd floor, 35 times.
  3. Tens place: rooms x20–x29 give 10 twos per floor Γ— 5 = 50 times.
  4. Units place: rooms ending in 2 give 4 per floor Γ— 5 = 20 times.
  5. Total = 35 + 50 + 20 = 105 times β€” answer E.
Mark: · log in to save