21. (GBR 2) IMO6 For each positive integer n, denote by s(n) the greatest integer such that for all positive integers k≤s(n),n2 can be expressed as a sum of squares of k positive integers. (a) Prove that s(n)≤n2−14 for all n≥4. (b) Find a number n such that s(n)=n2−14. (c) Prove that there exist infinitely many positive integers n such that s(n)=n2−14.
This one wants a proof. Work it on paper, then read the official solution and mark
yourself. Be honest about it: the record is only any use to you if it is.
Official solution
21. (a) Representing n2 as a sum of n2−13 squares is equivalent to representing 13 as a sum of numbers of the form x2−1,x∈N, such as 0,3,8,15,… But it is easy to check that this is impossible, and hence s(n)≤n2−14. (b) Let us prove that s(13)=132−14=155. Observe that 132=82+82+42+42+32=82+82+42+42+22+22+12=82+82+42+32+32+22+12+12+12 Given any representation of n2 as a sum of m squares one of which is even, we can construct a representation as a sum of m+3 squares by dividing the odd square into four equal squares. Thus the first equality enables us to construct representations with 5,8,11,…,155 squares, the second to construct ones with 7,10,13,…,154 squares, and the third with 9,12,…,153 squares. It remains only to represent 132 as a sum of k=2,3,4,6 squares. This can be done as follows: 132=122+52=122+42+32=112+42+42+42=122+32+22+22+22+22 (c) We shall prove that whenever s(n)=n2−14 for some n≥13, it also holds that s(2n)=(2n)2−14. This will imply that s(n)=n2−14 for any n=2t⋅13. If n2=x12+⋯+xr2, then we have (2n)2=(2x1)2+⋯+(2xr)2. Replacing (2xi)2 with xi2+xi2+xi2+xi2 as long as it is possible we can obtain representations of (2n)2 consisting of r,r+3,…,4r squares. This gives representations of (2n)2 into k squares for any k≤4n2−62. Further, we observe that each number m≥14 can be written as a sum of k≥m numbers of the form x2−1,x∈N, which is easy to verify. Therefore if k≤4n2−14, it follows that 4n2−k is a sum of k numbers of the form x2−1 (since k≥4n2−k≥14 ), and consequently 4n2 is a sum of k squares. Remark. One can find exactly the value of f(n) for each n : f(n)=⎩⎨⎧1,2,n2−14, if n has a prime divisor congruent to 3mod4 if n is of the form 5⋅2k,k a positive integer; otherwise.
Source: NuminaMath-1.5,
licensed Apache-2.0.
Statement and solution reproduced as published; topic, difficulty and ordering added
by this site.