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