# Four-phase binary reverse-and-add orbits and their smaller predecessors

iis:2612.00733 · by qingzhumengxiao-math · https://isitsolved.com/journal/5ea976b9d2ab

**Abstract.** For the family of words (1010100) repeated r times, r positive, we prove that binary reverse-and-add follows a four-phase pattern, never reaches a palindrome, and gives disjoint orbits for distinct r. Every displayed starting value has a smaller one-step predecessor. This refutes the literal trajectory-minimality condition for the specified family in OEIS A306517. A Lean development proves the orbit and predecessor assertions.

Smeets proposed the explicit family and recorded growing digit patterns. The smallest example was already on the orbit recorded in A058042. The first filing of PR #172361 used the finite same-shape example from 1144 to 10836. The paper proves the entire specified family, including disjointness, and leaves the unspecified general grammar open. The attached standalone standard-library Lean source contains `A306517.all_have_smaller_predecessors`, `A306517.Orbit.four_phases`, `A306517.Orbit.disjoint_orbits`, and `A306517.Orbit.no_orbit_word_palindromic`.

# The specified family

For a positive integer $n$, let $\rho(n)$ be the value of its reversed canonical binary word and put $F(n)=n+\rho(n)$. Since $F(n)>n$, the four-phase cycle describes repeating shapes of words at increasing lengths. In 2019, Smeets proposed that the words
$$
\mathtt{10}(\mathtt{1010010})^k\mathtt{10100}=(\mathtt{1010100})^{k+1},
 \qquad k\ge0,
$$
belong to A306517 \[a306517\]. Its sequence name requires a nonpalindromic four-phase pattern and absence from every smaller starting value’s trajectory. We establish the first property and refute the second for every $k$. The other suggested grammar has unspecified terminal words. Its general classification is outside this result.

# The four phases

Write $m=k$. For $j\ge0$, read each row of the following table as a concatenation. Exponent zero denotes an empty word.


| Phase | Prefix | Left run | Repeated block | Core | Right run | Suffix |
|:--:|:--:|:--:|:--:|:--:|:--:|:--:|
| $A_{m,j}$ | $\mathtt{10}$ | $1^j$ | $(\mathtt{1010010})^m$ | $\mathtt{101}$ | $0^j$ | $\mathtt{00}$ |
| $B_{m,j}$ | $\mathtt{11}$ | $0^j$ | $(\mathtt{0100111})^m$ | $\mathtt{010}$ | $1^j$ | $\mathtt{01}$ |
| $C_{m,j}$ | $\mathtt{10}$ | $1^j$ | $(\mathtt{1101010})^m$ | $\mathtt{1101}$ | $0^j$ | $\mathtt{00}$ |
| $D_{m,j}$ | $\mathtt{11}$ | $0^j$ | $(\mathtt{1000101})^m$ | $\mathtt{1000}$ | $1^j$ | $\mathtt{01}$ |


The initial word is $A_{m,0}$. For every $m,j$,
$$
A_{m,j}\longrightarrow B_{m,j}\longrightarrow
 C_{m,j}\longrightarrow D_{m,j}\longrightarrow A_{m,j+1}.
$$
To check the arithmetic, encode each word $w$, allowing leading zeroes within segments, by $S(w)=(2^{|w|},[w]_2,[w^\mathrm{rev}]_2)$. Concatenating segments with triples $(q,a,b),(p,c,d)$ gives $(qp,ap+c,dq+b)$. Repeating the first segment $k$ times gives $(1+(q-1)G,aG,bG)$, with $G=\sum_{i<k}q^i$. The direct and reversed values of the four seven-bit cores are respectively $(82,37),(39,114),(106,43),(69,81)$. Using $J=2^j-1$ and $H=(128^m-1)/127$, apply the two rules to each row of the table. The direct component of each successor is the sum of its predecessor’s direct and reversed components. For the last arrow, substitute $2J+1$ for $J$ on the right. These four polynomial identities for arbitrary $m,j$ are checked in the Lean theorem `four_phases`. The first and last bits of $A,C$ differ. The first two bits of $B,D$ are $\mathtt{11}$, whereas the reversed final two bits are $\mathtt{10}$. This proves nonpalindromicity throughout.

# An invariant distinguishing the orbits

Count unequal adjacent bits of an even word on an orbit. Both $A_{m,j}$ and $C_{m,j}$ have precisely $6m+5$. The outside runs merely extend runs already present. For $m=0$, the words at $j=0$ are $\mathtt{1010100}$ and $\mathtt{10110100}$, each with five changes. Each inserted seven-bit block adds six changes, including the boundary. If two orbits meet at an even value, their invariants agree and so do their parameters. If they meet at an odd value, their common successor is even. The orbits are thus disjoint. Among the nonpalindromic starting values whose orbits eventually meet a given one there is a least positive integer. Distinct orbits of our construction give distinct such least values. These minima need not have the prefix and suffix required in A306517. This is the seed convention used by A075252 \[a075252\].

# Smaller starting values

Let $r=m+1$ and $R_r=\sum_{i<r}128^i$. The target has value $84R_r$. Consider instead $35R_r$. Its binary word has $r$ copies of $\mathtt{100011}$ separated by single zeroes. Reversing gives $r$ copies of $\mathtt{110001}$ with the same gaps. Therefore $F(35R_r)=(35+49)R_r=84R_r$. For $r=1$, the earlier orbit $22\to35\to84$ is recorded in A058042 \[a058042\]. Even if a smaller starting value must itself have the form $\mathtt{10}\ldots\mathtt{00}$, we have the decimal witness
$$
1144\to1385\to2590\to4515\to10836 .
$$
Here $1144=(\mathtt{10001111000})_2$ and $10836=(\mathtt{10101001010100})_2$. None of those words is a palindrome. All fit within fourteen bits, so the whole chain can be multiplied by $\sum_{i<h}2^{14i}$, $h\ge1$, preserving the reversal identities. The new targets are $(\mathtt{1010100})^{2h}$.

# Scope of verification

`Counterexample.lean` uses Lean 4.33.1 and its standard library. It proves the infinite one-step predecessor family, the four-step witness, the four-phase dynamics, and full orbit disjointness and nonpalindromicity. The well-ordering corollary and fourteen-bit replication argument are given above. Smeets had already recorded growing-run patterns and further proposed infinite families \[a306516\].

# References

\[a306517\] A.H.M. Smeets, [OEIS A306517](https://oeis.org/A306517), 2019.

\[a306516\] A.H.M. Smeets, [OEIS A306516](https://oeis.org/A306516), decimal counterpart, 2019.

\[a058042\] N.J.A. Sloane and contributors, [OEIS A058042](https://oeis.org/A058042), including a link to the proof of K. Brockhaus, 2001.

\[a075252\] OEIS Foundation, [A075252](https://oeis.org/A075252), binary reverse-and-add seeds.

Prepared in an OpenAI Codex research session for qingzhumengxiao (GitHub handle).
