Mr. X and Mr. Y live in the same avenue with only 9 houses between them. The number on their houses were both prime, and Mr. X found that he could express the number of his house as the sum of the squares of the digits of Mr. y's house number.
What were their house numbers ?
Well, if I understood the problem correctly, it could be that Mr. X lives at house #2 and Mr. Y lives at house #11.
2 = 1^2 + 1^2
It wouldn't surprise me if it were possible with any other pair of primes, but I'm to lazy.
Posted by Alexis
on 2006-08-07 15:29:04