Problem

Source: Kyiv City MO 2025 Round 2, Problem 8.2, 11.1

Tags: number theory



Find all pairs of positive integers \( a, b \) such that one of the two numbers \( 2(a^2 + b^2) \) and \( (a + b)^2 + 4 \) is divisible by the other. Proposed by Oleksii Masalitin