Middle European Mathematical Olympiad 2015 Problem I-1
Find all surjective functions such that for all positive integers and , exactly one of the following equations is true:
Remarks: denotes the set of all positive integers. A function is said to be surjective if for every there exists such that .