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

Problem 25

Problem 25 · 2010 Math Kangaroo Hard
Number Theory divisibility

On each of 18 cards either a 4 or a 5 is written. The sum of the numbers on all the cards is divisible by 17. On how many cards is the number 4 written?

Show answer
Answer: B — 5
Show hints
Hint 1 of 2
Write the total in terms of how many cards show 4.
Still stuck? Show hint 2 →
Hint 2 of 2
Then make that total a multiple of 17.
Show solution
Approach: set up the sum and use divisibility
  1. If x cards show 4, the rest (18−x) show 5, so the sum is 4x + 5(18−x) = 90 − x.
  2. For 90 − x to be a multiple of 17 with 0 ≤ x ≤ 18, we need x = 5.
  3. So 5 cards show the number 4.
Mark: · log in to save