In previous post we explained what Ducci sequences are. In this article we will prove several properties.
First of all let’s do some exploration and try several things. We will be interested in long term behaviour. For that define Ducci map as . Now what will happen if we will use repeatedly?
If is zero vector, it is simple, for any . If we take only one non zero component, we get for example this . Do we always get zero vector? No, for example and we get a cycle (starting with ).
What if we try some more complicated vector, like . Then we get by repeated applying of Ducci map -> . Again, we got just binary vector! Does that happen always?
Unfortunately no, for example
and we obtain a cycle. But notice that everything in the cycle is scalar multiple of binary vector! So our first hypothesis would be that after some time we get a binary vector or its multiple.
We will use two theorems to prove it.
Theorem 1: Let be vector with integer components and let weight be maximum of these components, ie. . Then applying Ducci operation cannot increase this weight.
Proof of Theorem 1. Let be weight of some vector . After applying Ducci once, we get another vector . But we know that , from which the conclusion follows. QED
Now we know that weight is not increasing. In order to prove our claim about having binary vector, we have to think about non binary vectors which are not multiples of binary vectors. If we look for example at , there are two possibilities that can come to your mind. If the weight does not decrease, all entries will have to be zero and one of them will have to be . Second thought is that weight always decreases for vectors like these. This thought is the right one.
Theorem 2:
Let be an integer, and let be a vector with integer components and weight m, which is not binary nor scalar multiple of it. After finitely many iterations of , the weight decreases; that is, for some .
Proof of Theorem 2. The main idea behind this proof is that either the weight decreases or the maximum number of zeroes after maximum decreases. Because both can happen finitely many times, it proves our theorem.
To be more specific, if you have non zero number right after maximum, this entry decreases in the very next step. If not, then there are several zeroes next to it, so it looks like this , where is any number , is maximum and is any number . Look at the number of zeroes next to – after this many steps plus one the decreases by .
The problem of course is – what if after decreases, another entry increased to ? For example if you begin by , you get to . But it is not problematic, since the number of zeroes decreases in a vector that is not binary nor multiple of binary vector.
So because of these facts, we can work only with binary vectors since we know we would always get to them after finitely many steps or to multiples of them, but they behave exactly the same.