Part of 2003 National High School Mathematics League
Source: 2003 National High School Mathematics League, Exam One, Problem 10