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

Problem 17

Problem 17 · 2025 Math Kangaroo Hard
Number Theory divisibilitydigit-sum

The five-digit number \(\overline{N18NN}\) is divisible by 18. Which of the following statements is true for the digit N?

Show answer
Answer: A — There is exactly one such N.
Show hints
Hint 1 of 2
Use the rules for divisibility by 2 and by 9 separately.
Still stuck? Show hint 2 →
Hint 2 of 2
Last digit N must be even, and the digit sum 3N + 9 must be a multiple of 9, forcing N to be a multiple of 6.
Show solution
Approach: split 18 = 2×9 into two digit tests
  1. Divisible by 2: N is even. Divisible by 9: N + 1 + 8 + N + N = 3N + 9 is a multiple of 9, so N is a multiple of 3.
  2. Even and multiple of 3 means N is a multiple of 6; as a nonzero leading digit, only N = 6 works.
  3. So there is exactly one such N.
Mark: · log in to save