Given a sequence of eight integers $x_{1},x_{2},...,x_{8}$ in a single operation one replaces these numbers with $|x_{1}-x_{2}|,|x_{2}-x_{3}|,...,|x_{8}-x_{1}|$. Find all the eight-term sequences of integers which reduce to a sequence with all the terms equal after finitely many single operations.
Problem
Source: 4-th Taiwanese Mathematical Olympiad 1995
Tags: combinatorics unsolved, combinatorics
04.06.2014 06:21
It's Ducci Sequence http://en.wikipedia.org/wiki/Ducci_sequence
04.02.2019 02:28
Since the wikipedia page on Ducci sequence doesn't seem to give an explicit solution, I will provide one. A few initial observations: All entries are always integers and after the first operation, all entries are nonnegative. From $(1)$, from the second 8-tuple onward, the maximum entry is non-increasing over successive operations. The $8$-tuples ends up with all the same entries at some point iff it eventually ends up as an $8$-tuple of all $0$s. If after some number of operations we have a sequence of $(a_1, a_2, \ldots, a_8)$ of the form $(kb_1, kb_2, \ldots, kb_8)$ for integers $k, b_1, b_2, \ldots, b_8,$ then the $8$-tuple can be reduced to $(b_1, b_2, \ldots, b_8)$ and this new $8$-tuple eventually ends up as all $0$s iff the old one does. When viewed $\pmod 2$, the operation is equivalent to applying $(x_1, x_2, \ldots, x_8) \pmod 2 \to (x_1+x_2, x_2+x_3, \ldots, x_8+x_1) \pmod 2$. From $(3)$ it suffices to show that the entries all eventually end up as $0$. Proceed by induction on the maximum entry $m$ in the $8$-tuple resulting from a single operation. This method is legal due to $(1)$ and $(2)$. As a base case, with $m = 0$ we are already done. Consider $m = k > 0$ and assume the claim follows for all nonnegative integers less than $k$. From $(5)$, we observe the following for successive operations $\pmod 2$: \begin{align*} (x_1, x_2, \ldots, x_8) &\to (x_1+x_2, x_2+x_3, \ldots, x_8+x_1)\\ &\to (x_1+x_3, x_2+x_4, \ldots, x_8+x_2)\\ &\to (x_1+x_2+x_3+x_4, x_2+x_3+x_4+x_5, \ldots, x_8+x_1+x_2+x_3)\\ &\to (x_1+x_5, x_2+x_6, \ldots, x_8+x_4)\\ &\to (x_1+x_2+x_5+x_6, x_2+x_3+x_6+x_7, \ldots, x_8+x_1+x_4+x_5)\\ &\to (x_1+x_3+x_5+x_7, x_2+x_4+x_6+x_8, \ldots, x_8+x_2+x_4+x_6)\\ &\to (x_1+x_2+\cdots+x_8, x_1+x_2+\cdots+x_8, \ldots, x_1+x_2+\cdots+x_8)\\ &\to (0, 0, \ldots, 0) \pmod 2 \end{align*} Thus after a finite number of steps, the $8$-tuple is in the form $(2a_1, 2a_2, \ldots, 2a_8)$ for integers $a_1, a_2, \ldots, a_8$ and from $(4)$, the $8$-tuple can be reduced so that all entries are divided by a factor of $2$. Since the maximum entry is non-increasing and we began with $m = k$, we now have $m \le \lfloor k / 2 \rfloor < k$ (for $k > 0$). The $8$-tuple now reaches the form $(0, 0, \ldots, 0)$ in a finite number of steps by the IH. $\blacksquare$
24.02.2021 05:07
@above What is the proof of observation 4?