Part of 2004 National High School Mathematics League
Source: 2004 National High School Mathematics League, Exam One, Problem 15