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.
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 | = | m2 – k2 | = (m + k)(m – k) |
1313 = 101 · 13, both factors prime.
So 101 · 13 = (m + k)(m – k) → | m + k | = | 101 | |
m – k | = | 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.
And in 13 years, Sheila is 32 and Gil is 49, and 3249 = 572.