Binary expression of ancestors in the Collatz graph

Tristan Stérin
7/1/2019
cs.DMmath.CO

Official code: tcosmo/CollatzRegular (1 star, Jupyter Notebook, MIT, last commit 2019-09-29).

Abstract

The Collatz graph is a directed graph with natural number nodes and where there is an edge from node $x$ to node $T(x)=T_0(x)=x/2$ if $x$ is even, or to node $T(x)=T_1(x)=\frac{3x+1}{2}$ if $x$ is odd. Studying the Collatz graph in binary reveals complex message passing behaviors based on carry propagation which seem to capture the essential dynamics and complexity of the Collatz process.

Show full abstract

We study the set $\mathcal{E} \text{Pred}_k(x)$ that contains the binary expression of any ancestor $y$ that reaches $x$ with a limited budget of $k$ applications of $T_1$. The set $\mathcal{E} \text{Pred}_k(x)$ is known to be regular, Shallit and Wilson [EATCS 1992]. In this paper, we find that the geometry of the Collatz graph naturally leads to the construction of a regular expression, $\texttt{reg}_k(x)$, which defines $\mathcal{E} \text{Pred}_k(x)$. Our construction, is exponential in $k$ which improves upon the doubly exponentially construction of Shallit and Wilson. Furthermore, our result generalises Colussi's work on the $x = 1$ case [TCS 2011] to any natural number $x$, and gives mathematical and algorithmic tools for further exploration of the Collatz graph in binary.

View on arXivView PDF

Code Implementations(1)

MIT

Code associated to the paper "First Occurrence of Parity Vectors and the Regular Structure of k-Span Predecessor Sets in the Collatz Graph"

10Jupyter Notebook, PythonJun 24, 20197 years agoMIT

Similar Papers

Cite this paper

@article{strin2019binary,
  title  = {Binary expression of ancestors in the Collatz graph},
  author = {Tristan Stérin},
  year   = {2019},
  eprint = {1907.00775},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1907.00775}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/1907.00775.svg)](https://codeofpaper.com/paper/1907.00775)

Discussion