Problem

Source: Irish Mathematical Olympiad 2023 Problem 5

Tags: number theory



The positive integers $a, b, c, d$ satisfy (i) $a + b + c + d = 2023$ (ii) $2023 \text{ } | \text{ } ab - cd$ (iii) $2023 \text{ } | \text{ } a^2 + b^2 + c^2 + d^2.$ Assuming that each of the numbers $a, b, c, d$ is divisible by $7$, prove that each of the numbers $a, b, c, d$ is divisible by $17$.