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