Part of 1998 National High School Mathematics League
Source: 1998 National High School Mathematics League, Exam One, Problem 11