Problem

Source: 2024 IMO P2

Tags: number theory, GCD, IMO 2024, IMO, constant



Determine all pairs $(a,b)$ of positive integers for which there exist positive integers $g$ and $N$ such that $$\gcd (a^n+b,b^n+a)=g$$holds for all integers $n\geqslant N.$ (Note that $\gcd(x, y)$ denotes the greatest common divisor of integers $x$ and $y.$) Proposed by Valentio Iverson, Indonesia