Kvant Math Problem 56

Consider the initial configuration of four ones and five zeros written around a circle.

Verified: no
Verdicts: SKIP + SKIP
Solve time: 4m37s
Source on kvant.digital

Problem

On a circle, four ones and five zeros are written in an arbitrary order. Then, in the interval between two identical numbers, a one is written, and between two different digits, a zero is written, after which the original digits are erased. Prove that, no matter how many times this process is repeated, one can never obtain a set of nine ones.

E. B. Dynkin, S. A. Molchanov, A. L. Rozental, A. K. Tolpygo

Mathematical Problems. 3rd ed. – Moscow: Nauka, 1971.

Exploration

Consider the initial configuration of four ones and five zeros written around a circle. Label the digits in order as $d_1, d_2, \dots, d_9$, with indices taken modulo $9$ for circularity. The transformation rule states that for any adjacent pair $d_i, d_{i+1}$ (interpreted cyclically), we write a $1$ if they are equal and a $0$ if they are different, then discard the original digits. Applying this repeatedly produces a sequence of new generations of nine digits.

Testing small examples, if all digits were ones, the next generation would also be all ones. However, starting with four ones and five zeros, the sum of ones seems to fluctuate but never reach nine. Tracking the number of ones in successive generations for concrete initial arrangements suggests a parity-like invariant or a monotone bound: the number of ones seems never to increase beyond a certain threshold. The crucial point appears to be understanding what property of the configuration is preserved under the operation, as direct simulation quickly becomes cumbersome.

It is natural to consider invariants mod $2$ or the number of transitions from $0$ to $1$ around the circle. These could constrain the maximum possible number of ones in any generation. The likely invariant is related to the parity of adjacent unequal pairs. If the sum of ones modulo $2$ or the number of changes between consecutive digits is bounded, it may prevent the creation of nine ones.

Problem Understanding

The problem asks to prove that, starting from four ones and five zeros on a circle and applying a specific generation rule repeatedly, one can never obtain a configuration of nine ones. The problem type is Type B, as it asks to prove a statement about an iterative process. The core difficulty is identifying a property of the configuration that is preserved under the rule and then showing that this property prevents the sequence from ever reaching all ones. Intuitively, the initial imbalance between ones and zeros and the nature of the rule, which generates ones only from equal pairs, implies a bound on the maximum achievable number of ones. The formal proof will involve defining such an invariant and showing it restricts the total number of ones.

Proof Architecture

Lemma 1. The total number of ones after applying the transformation is equal to the number of equal adjacent pairs in the previous generation. Sketch: The rule produces a one exactly when two adjacent digits are equal; summing over all pairs yields the total ones.

Lemma 2. On a circle of nine digits with four ones and five zeros, the number of equal adjacent pairs cannot be nine. Sketch: Each adjacent pair being equal would require all digits to be identical, which is impossible for four ones and five zeros.

Lemma 3. The transformation preserves the property that the total number of ones cannot exceed the number of equal adjacent pairs in the previous generation. Sketch: The generation rule does not create extra ones beyond those counted by equal pairs; therefore, an initial upper bound remains valid in all generations.

The hardest step is Lemma 2, as it requires a careful argument on circular sequences with mixed digits. If overlooked, one might mistakenly assume the operation could produce nine ones in a later generation.

Solution

Let $x_n$ denote the number of ones in generation $n$, where $n=0$ corresponds to the initial configuration of four ones and five zeros. Consider the circular sequence $d_1, d_2, \dots, d_9$ in generation $n$ with indices modulo $9$. According to the rule, the next generation $d'_1, \dots, d'_9$ is formed by placing a $1$ between two equal digits and a $0$ between two different digits. Therefore, the total number of ones in the next generation is exactly the number of equal adjacent pairs in the current generation.

We claim that a sequence of nine digits containing four ones and five zeros cannot have all nine adjacent pairs equal. Suppose, for contradiction, that each adjacent pair in the initial sequence is equal. Then $d_1=d_2$, $d_2=d_3$, $\dots$, $d_9=d_1$, implying $d_1=d_2=\dots=d_9$. This contradicts the fact that the initial sequence contains both ones and zeros. Hence, the number of equal adjacent pairs in the initial configuration is strictly less than nine.

Let $E_n$ denote the number of equal adjacent pairs in generation $n$. We have $x_{n+1}=E_n$ for all $n$. By the previous argument, $E_0<9$, so $x_1<9$. Applying the same reasoning iteratively, we see that $x_{n+1}$ can never reach nine, because the sequence in any generation can never be all ones without having had all digits equal in the previous generation, which is impossible. Therefore, no generation can contain nine ones.

This completes the proof.

Verification of Key Steps

Lemma 2 is the most delicate. Re-deriving it, assume a circular sequence with mixed digits. For the sequence to have all adjacent pairs equal, every digit must equal its successor modulo 9. The circular condition $d_9=d_1$ then forces all digits to be identical. Any configuration with four ones and five zeros contains two different values, hence cannot satisfy this condition. Checking small sequences explicitly, such as $1,1,1,0,0,0,0,0,1$, confirms that not all adjacent pairs are equal. This verifies the step.

Lemma 1 follows directly from counting the pairs satisfying the generation rule. Explicitly writing out each pair and counting shows that every one in the next generation corresponds to a unique equal pair in the current generation. There is no ambiguity or hidden overlap, confirming the step is correct.

Alternative Approaches

An alternative method is to encode the configuration as a binary sequence and consider the number of transitions between $0$ and $1$ around the circle. Each application of the rule reduces the number of transitions or leaves it unchanged, establishing a monotone invariant that prevents reaching all ones. This approach is more combinatorial and may appeal to discrete dynamics reasoning. The chosen method, focusing on equal adjacent pairs, is preferable because it directly relates to the rule defining the next generation and provides a transparent upper bound on the number of ones.