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

Problem 27

Problem 27 · 2012 Math Kangaroo Hard
Number Theory perfect-squarecasework

Wanted are all three-digit numbers from 100 to 999 that have the following property: If you remove the first digit a square number remains and if you remove the last digit again a square number remains (e.g. 164 → (1)64 → 16(4)). How big is the sum of all numbers with this special property?

Show answer
Answer: D — 1993
Show hints
Hint 1 of 2
Both 'drop the first digit' and 'drop the last digit' must leave two-digit squares.
Still stuck? Show hint 2 →
Hint 2 of 2
The middle digit is shared — it is the units digit of one square and the tens digit of another.
Show solution
Approach: match shared middle digit
  1. The two-digit squares are 16, 25, 36, 49, 64, 81. The number a b c needs both 10a+b and 10b+c to be in this list.
  2. The shared digit b must be a units digit of one square and a tens digit of another, which works for b = 1, 4, 6, giving the numbers 816, 649, 164, 364.
  3. Their sum is 816 + 649 + 164 + 364 = 1993.
Mark: · log in to save