MathDB
Functional equation with gcd

Source: 2021 Thailand Online MO P8 (Mock TMO contest)

April 6, 2021
functional equationnumber theorygreatest common divisor

Problem Statement

Let N\mathbb N be the set of positive integers. Determine all functions f:N×NNf:\mathbb N\times\mathbb N\to\mathbb N that satisfy both of the following conditions:
[*]f(gcd(a,b),c)=gcd(a,f(c,b))f(\gcd (a,b),c) = \gcd (a,f(c,b)) for all a,b,cNa,b,c \in \mathbb{N}. [*]f(a,a)af(a,a) \geq a for all aNa \in \mathbb{N}.