Ages as Perfect Square

Gil is 17 years older than Sheila. If his age is written after hers, the result is a 4-digit perfect square. The same statement will also be true 13 years from now. Find Sheila’s present age.


Show/Hide Solution

The problem suggests a whole lot of guess-and-check, but let’s see if we can use some algebra.

Let s represent Sheila’s age and s + 17, Gil’s age.

We observe that 100s + s + 17 makes the 4-digit perfect square, say k2.
100s + s + 17 = k2 → 101s + 17 = k2.
Now, in 13 years we’ll have 100(s + 13) + (s + 17 + 13) = m2 for some m.
100s + 1300 + s + 30 = m2 → 101s + 1330 = m2.

So:  101s + 1330  =  m2  
  101s + 17  =  k2  
  1313  =  m2k2  = (m + k)(mk)

1313 = 101 · 13, both factors prime.

So 101 · 13 = (m + k)(mk) →  m + k  =  101  
  mk  =  13  
  2m  =  114  → m = 57 and k = 44.

We’re done!
442 = 1936: s = 19 and Gil is 36. (19 + 17 = 36)
And in 13 years, Sheila is 32 and Gil is 49, and 3249 = 572.

Leave a Reply

Your email address will not be published. Required fields are marked *