We present a solution to problem A2 from the shortlist for the 2006 International Mathematics Olympiad.http://www.michael-penn.nethttps://www.researchgate.net/profile/Michael_Penn5http://www.randolphcollege.edu/mathematics/