Problem

Source: CSMO Grade 11 Problem 8

Tags: Perfect Squares, number theory



Find the maximum value of $n$, such that there exist $n$ pairwise distinct positive numbers $x_1,x_2,\cdots,x_n$, satisfy $$x_1^2+x_2^2+\cdots+x_n^2=2017$$