Problem

Source: Balkan MO 2010, Problem 4

Tags: function, number theory, greatest common divisor, relatively prime, totient function, number theory proposed



For each integer $n$ ($n \ge 2$), let $f(n)$ denote the sum of all positive integers that are at most $n$ and not relatively prime to $n$. Prove that $f(n+p) \neq f(n)$ for each such $n$ and every prime $p$.