Difference between revisions of "2015 USAMO Problems/Problem 1"

m (Added problem)
Line 1: Line 1:
 
===Problem===
 
===Problem===
Given a sequence of real numbers, a move consists of choosing two terms and replacing each with their arithmetic mean. Show that there exists a sequence of 2015 distinct real numbers such that after one initial move is applied to the sequence -- no matter what move -- there is always a way to continue with a finite sequence of moves so as to obtain in the end a constant sequence.
+
Solve in integers the equation
 +
<cmath> x^2+xy+y^2 = \left(\frac{x+y}{3}+1\right)^3. </cmath>
 +
===Solution===
 +
We first notice that both sides must be integers, so <math>\frac{x+y}{3}</math> must be an integer.  
 +
 
 +
We can therefore perform the substitution <math>x+y = 3t</math> where <math>t</math> is an integer.  
 +
 
 +
Then:
 +
 
 +
<math>(3t)^2 - xy = (t+1)^3</math>
  
===Solution===
+
<math>9t^2 + x (x - 3t) = t^3 + 3t^2 + 3t + 1</math>
Let the set be {-1007, -1006, ...0,1,2...1006, 1007}, namely all the consecutive integers from -1007 to 1007.  Notice that the operation does not change the sum or the mean of the set, which is 0. 
+
 
 +
<math>4x^2 - 12xt + 9t^2 = 4t^3 - 15t^2 + 12t + 4</math>
 +
 
 +
<math>(2x - 3t)^2 = (t - 2)^2(4t + 1)</math>
 +
 
 +
<math>4t+1</math> is therefore the square of an odd integer and can be replaced with <math>(2n+1)^2 = 4n^2 + 4n +1</math>
 +
 
 +
By substituting using <math>t = n^2 + n</math> we get:
 +
 
 +
<math>(2x - 3n^2 - 3n)^2 = [(n^2 + n - 2)(2n+1)]^2</math>
 +
 
 +
<math>2x - 3n^2 - 3n = \pm (2n^3 + 3n^2 -3n -2)</math>
  
There are 1007 pairs of opposite integers {a,-a}. After the first two elements are chosen, there are at least 1005 such pair. For each such pair we perform the operation of average, hence reducing these 2010 elements to 0. Then use the other 5 elements together with three 0's produced to form the group of eight: {a1,a2,a3,a4,a5,a6=0,a7=0,a8=0}, and perform the operation in the following order: (a1,a2)-> (m1,m1), (a3,a4)->(m2,m2),      (a3,a4)->(m3,m3), (a3,a4)->(m4,m4), where m1=(a1+a2)/2, etc. Then, (m1,m2)->(m11, m11) for two groups, (m3,m4)->(m12,m12) for the other two groups, and finally (m11,m12) -> (m111, m111) for all the eight elements. Since the sum of the eight-group is 0, m111 must also be 0. Therefore, all the elements are reduced to 0.
+
<math>x = n^3 + 3n^2 - 1</math> or <math>x = n^3 + 3n - 1</math>
  
The key to the algorithm is to form 2^k subset, which is guaranteed to be reducible to all the members of the same value, namely the mean. Then before that if we could always choose M >=N-2^k members to form pairs, each yielding the average of the total group, then all the members are reduced to the average. Under the condition that two arbitrary elements are chosen first, we need only N>=4 to guarantee this result. But for N=2 the first operation leads to equal elements, so N=3 is the only case when all the members may not be reduced to average.
+
Using substitution we get the solutions: <math>(n^3 + 3n^2 - 1, n^3 + 3n - 1) \cup (n^3 + 3n - 1, n^3 + 3n^2 - 1)</math>

Revision as of 12:10, 12 May 2015

Problem

Solve in integers the equation \[x^2+xy+y^2 = \left(\frac{x+y}{3}+1\right)^3.\]

Solution

We first notice that both sides must be integers, so $\frac{x+y}{3}$ must be an integer.

We can therefore perform the substitution $x+y = 3t$ where $t$ is an integer.

Then:

$(3t)^2 - xy = (t+1)^3$

$9t^2 + x (x - 3t) = t^3 + 3t^2 + 3t + 1$

$4x^2 - 12xt + 9t^2 = 4t^3 - 15t^2 + 12t + 4$

$(2x - 3t)^2 = (t - 2)^2(4t + 1)$

$4t+1$ is therefore the square of an odd integer and can be replaced with $(2n+1)^2 = 4n^2 + 4n +1$

By substituting using $t = n^2 + n$ we get:

$(2x - 3n^2 - 3n)^2 = [(n^2 + n - 2)(2n+1)]^2$

$2x - 3n^2 - 3n = \pm (2n^3 + 3n^2 -3n -2)$

$x = n^3 + 3n^2 - 1$ or $x = n^3 + 3n - 1$

Using substitution we get the solutions: $(n^3 + 3n^2 - 1, n^3 + 3n - 1) \cup (n^3 + 3n - 1, n^3 + 3n^2 - 1)$

Invalid username
Login to AoPS