Problem

Source: -Stars of Mathematics 2020 (senior level)

Tags: combinatorics, number theory, romania



Given a positive integer $k,$ prove that for any integer $n \geq 20k,$ there exist $n - k$ pairwise distinct positive integers whose squares add up to $n(n + 1)(2n + 1)/6.$ The Problem Selection Committee