🦘 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 7

Problem 7 · 2009 Math Kangaroo Medium
Number Theory careful-countingplace-value

A long number is built by writing the number 2009 in a row 2009 times. What is the sum of all the odd digits in this number that are immediately to the left of an even digit?

Show answer
Answer: D — 18072
Show hints
Hint 1 of 2
Inside the repeated block 2009, which digit sits just before an even digit?
Still stuck? Show hint 2 →
Hint 2 of 2
Each copy of 2009 contributes the same fixed amount; count how many junctions there are.
Show solution
Approach: find the repeating pattern, then multiply
  1. The string is 2009 2009 2009 … (2009 copies).
  2. Within one block 2-0-0-9, the only odd digit followed by an even one is the 9 before the next block's 2.
  3. That happens at each junction between consecutive blocks: 2008 junctions, each adding 9.
  4. Total = 9 × 2008 = 18072.
Mark: · log in to save