MathDB
The age of Josh and Fred

Source:

October 8, 2011
number theory proposednumber theory

Problem Statement

Josh is older than Fred. Josh notices that if he switches the two digits of his age (an integer), he gets Fred’s age. Moreover, the difference between the squares of their ages is a square of an integer. How old are Josh and Fred?