Part of 2015 Abels Math Contest (Norwegian MO) Final
Source: Norwegian Mathematical Olympiad 2015 - Abel Competition p1a