Part of 2003 Abels Math Contest (Norwegian MO)
Source: Norwegian Mathematical Olympiad 2003 - Abel Competition p2b