The Collatz process embeds a base conversion algorithm

07/14/2020
by   Tristan Stérin, et al.
0

The Collatz process is defined on natural numbers by iterating the map T(x) = T_0(x) = x/2 when x∈ℕ is even and T(x)=T_1(x) =(3x+1)/2 when x is odd. In an effort to understand its dynamics, and since Generalised Collatz Maps are known to simulate Turing Machines [Conway, 1972], it seems natural to ask what kinds of algorithmic behaviours it embeds. We define a quasi-cellular automaton that exactly simulates the Collatz process on the square grid: on input x∈ℕ, written horizontally in base 2, successive rows give the Collatz sequence of x in base 2. We show that vertical columns simultaneously iterate the map in base 3. This leads to our main result: the Collatz process embeds an algorithm that converts any natural number from base 3 to base 2. We also find that the evolution of our automaton computes the parity of the number of 1s in any ternary input. It follows that predicting about half of the bits of the iterates T^i(x), for i = O(log x), is in the complexity class NC^1 but outside AC^0. Finally, we show that in the extension of the Collatz process to numbers with infinite binary expansions (2-adic integers) [Lagarias, 1985], our automaton encodes the cyclic Collatz conjecture as a natural reachability problem. These results show that the Collatz process is capable of some simple, but non-trivial, computation in bases 2 and 3, suggesting an algorithmic approach to thinking about existence, prediction and structure of cycles in the Collatz process.

READ FULL TEXT

page 4

page 7

page 17

page 22

page 23

research
02/07/2020

Computational Aspects of Sturdy and Flimsy Numbers

Following Stolarsky, we say that a natural number n is flimsy in base b ...
research
08/12/2022

Real numbers equally compressible in every base

Finite-state compressibility, or equivalently, finite-state dimension, q...
research
07/01/2019

First Occurrence of Parity Vectors and the Regular Structure of k-Span Predecessor Sets in the Collatz Graph

We study finite paths in the Collatz graph, a directed graph with natura...
research
02/25/2019

On reachability problems for low dimensional matrix semigroups

We consider the Membership and the Half-space Reachability Problems for ...
research
08/23/2017

The Reachability of Computer Programs

Would it be possible to explain the emergence of new computational ideas...
research
09/09/2010

Is there a physically universal cellular automaton or Hamiltonian?

It is known that both quantum and classical cellular automata (CA) exist...

Please sign up or login with your details

Forgot password? Click here to reset