Maths Olympiad Prep

Track / Stage 6 / 392 of 400 #1392 of 1964

Problem 1392

National olympiad, first round
Number theory Difficulty 7.0 Find the answer

We have 150 150 numbers x1,x2,,x150 x_1,x_2, \cdots , x_{150} each of which is either 2\plus1 \sqrt 2 \plus{}1 or 2\minus1 \sqrt 2 \minus{}1

We calculate the following sum:

S\equalx1x2\plusx3x4\plusx5x6\plus\plusx149x150 S\equal{}x_1x_2 \plus{}x_3x_4\plus{} x_5x_6\plus{} \cdots \plus{} x_{149}x_{150}

Can we choose the 150 150 numbers such that S\equal121 S\equal{}121?
And what about S\equal111 S\equal{}111?

A number or a short expression. Spacing, $ signs and \frac vs / are all fine.

Official solution

1. We are given 150 numbers x1,x2,,x150 x_1, x_2, \ldots, x_{150} , each of which is either 2+1 \sqrt{2} + 1 or 21 \sqrt{2} - 1 .
2. We need to calculate the sum S=x1x2+x3x4+x5x6++x149x150 S = x_1 x_2 + x_3 x_4 + x_5 x_6 + \cdots + x_{149} x_{150} .
3. Notice that there are 75 terms in the sum S S , and each term can independently be one of the following:
(2+1)(21)=1,(2+1)2=3+22,(21)2=322 (\sqrt{2} + 1)(\sqrt{2} - 1) = 1, \quad (\sqrt{2} + 1)^2 = 3 + 2\sqrt{2}, \quad (\sqrt{2} - 1)^2 = 3 - 2\sqrt{2}
4. Let x x be the number of terms equal to 1 1 , y y be the number of terms equal to 3+22 3 + 2\sqrt{2} , and z z be the number of terms equal to 322 3 - 2\sqrt{2} .
5. We have the following equations:
x+y+z=75 x + y + z = 75
x+(3+22)y+(322)z=S x + (3 + 2\sqrt{2})y + (3 - 2\sqrt{2})z = S
6. Since S S is radical-free, the terms involving 2 \sqrt{2} must cancel out. This implies y=z y = z .
7. Let y=z y = z . Then, we have:
x+2y=75 x + 2y = 75
x+3y=S x + 3y = S
8. Let x=2n+1 x = 2n + 1 (since x x must be odd). Then:
2n+1+2y=75    n+y=37(Equation 1) 2n + 1 + 2y = 75 \implies n + y = 37 \quad \text{(Equation 1)}
2n+1+6y=S    n+3y=S12(Equation 2) 2n + 1 + 6y = S \implies n + 3y = \frac{S - 1}{2} \quad \text{(Equation 2)}
9. For S=121 S = 121 :
n+3y=60(Equation 3) n + 3y = 60 \quad \text{(Equation 3)}
Solving Equations 1 and 3:
n+y=37 n + y = 37
n+3y=60 n + 3y = 60
Subtracting the first equation from the second:
2y=23    y=11.5 2y = 23 \implies y = 11.5
Since y y must be an integer, there is no solution for S=121 S = 121 .

10. For S=111 S = 111 :
n+3y=55(Equation 4) n + 3y = 55 \quad \text{(Equation 4)}
Solving Equations 1 and 4:
n+y=37 n + y = 37
n+3y=55 n + 3y = 55
Subtracting the first equation from the second:
2y=18    y=9 2y = 18 \implies y = 9
Substituting y=9 y = 9 into Equation 1:
n+9=37    n=28 n + 9 = 37 \implies n = 28
Therefore, for S=111 S = 111 , we have n=28 n = 28 and y=9 y = 9 , which is a valid solution.

The final answer is S=111 \boxed{ S = 111 } is possible, S=121 S = 121 is not possible.

Source: NuminaMath-1.5, licensed Apache-2.0. Statement and solution reproduced as published; topic, difficulty and ordering added by this site.