This exercise appeared on a german online tutoring board and caught my attention but stumbled me for hours. The task is to find 6 distinct positive three digit integers satisfying:
$x_{1}+x_{2}+x_{3}+x_{4}+x_{5}+x_{6}=4.198$
$x_{1}^{2}+x_{2}^{2}+x_{3}^{2}+x_{4}^{2}+x_{5}^{2}+x_{6}^{2}=3.215.224$
$x_{1}^{3}+x_{2}^{3}+x_{3}^{3}+x_{4}^{3}+x_{5}^{3}+x_{6}^{3}=2.600.350.972$
According to the power mean inequality or Cauchy-Schwarz the numbers must lie relatively closely together. However a brief search lead nowhere.
For simplicity I set $4.198=A$, $3.215.224=B$ and $2.600.350.972=C$ and then my approach was to manipulate the three equations and perhaps use that no square is negative. For example
$6B-A^{2}=\sum_{i<j}(x_i-x_j)^{2}=(x_{1}-x_{2})^2+(x_{1}-x_{3})^2+...+(x_{2}-x_{3})^2+...+(x_{5}-x_{6})^2$ where every distinct pair appears exactly once.
If now $6B-A^{2}$ would result in something like
$5*1^{2}+4*2^{2}+3*3^{2}+2*4^{2}+1*5^{2}=105$
we could tell exactly what our $x$ were. Unfortunately it gives $1.668.140$ and we cannot conclude much.
Similar reasoning with factoring to $\sum_{i<j}(x_i-x_j)^{4}$ didn't help.
If there exists such a factorization, my intuition says it would only make sense if the $x$ form an arithmetic sequence, otherwise we would get different factors on the right side that can't appear on the left side. (does this sound reasonable?) But substituting gives no solution. Also, I don't know what other, more sophisticated factorization would lead me to the solution.
I'm running out of ideas, how can this problem be solved?
Links to the original problem:
https://www.geocaching.com/geocache/GC69JE0_lotto-mal-anders
https://www.gutefrage.net/frage/matherechenart-gesucht-mehrere-variablen-mit-festen-ergebnis?foundIn=unknown_listing
Assume that $x_1<x_2<\cdots < x_6$.
1st step.
Then $$ 6x_1<A<6x_6; \\ 6x_1^2<B<6x_6^2; \\ 6x_1^3<C<6x_6^3; $$
or (when note that $\dfrac{A}{6}\approx 699.66$, $\sqrt{\dfrac{B}{6}}\approx 732.03$, $\sqrt[3]{\dfrac{C}{6}}\approx 756.76$):
$$x_1\le 699; x_6\ge 700;$$ $$x_1\le 732; x_6\ge 733;$$ $$x_1\le 756; x_6\ge 757;$$
So, we have restrictions for the smallest and the largest numbers: $$ x_1\le 700, x_6 \ge 757. $$
2nd step.
We can bruteforce values $x_1,x_2,x_3,x_4, x_5$, and then calculate $x_6 = A - (x_1+x_2+x_3+x_4+x_5)$, and then check whether other sums are correct.
But it takes $5$ loops through roughly almost $900$ possible values.
To reduce $1$ loop:
bruteforce values $x_1,x_2,x_3,x_4$;
denote $s_1 = x_1+x_2+x_3+x_4$, $s_2 = x_1^2+x_2^2+x_3^2+x_4^2$; and then derive $x_5$ and $x_6$: $$ x_5+x_6 = A - s_1; \\ x_5^2+x_6^2 = B - s_2; $$ so $$ x_5 x_6 = \dfrac{(x_5+x_6)^2-(x_5^2+x_6^2)}{2} = \dfrac{(A-s_1)^2 - (B-s_2)}{2}. $$
And $x_5,x_6$ are roots of polynomial $$ w^2 - (x_5+x_6)w + x_5x_6; $$
then the discriminant $$ D = 2(B-s_2)-(A-s_1)^2 $$ should be a square number.
Using this approach, one can find (in reasonable time) that ...
(please skip this spoiled box if you'll try to solve this problem personally)
And maybe this is not the unique solution.