MathDB
Function such that (m,n)|f(m)+f(n)

Source: Austrian Federal Competition for Advanced Students 2012, #1

May 23, 2012
functionnumber theorygreatest common divisorgeometrygeometric transformationnumber theory proposed

Problem Statement

Determine all functions f:ZZf: \mathbb{Z}\to\mathbb{Z} satisfying the following property: For each pair of integers mm and nn (not necessarily distinct), gcd(m,n)\mathrm{gcd}(m, n) divides f(m)+f(n)f(m) + f(n).
Note: If nZn\in\mathbb{Z}, gcd(m,n)=gcd(m,n)\mathrm{gcd}(m, n)=\mathrm{gcd}(|m|, |n|) and gcd(n,0)=n\mathrm{gcd}(n, 0)=n.