Skip to main content
QUICK REVIEW

[Paper Review] Simulation of the Collatz 3x+1 function by Turing machines

Michel Pascal|arXiv (Cornell University)|Sep 25, 2014
Benford’s Law and Fraud DetectionMathematics3 references4 citations
TL;DR

This paper presents a novel 3-state, 4-symbol Turing machine that simulates the Collatz 3x+1 function without halting, improving upon prior 3×5 and 4×4 machines. It also introduces four new halting Turing machines—3×10, 4×6, 5×4, and 13×2—that halt precisely when the Collatz sequence reaches the 2→1→2 cycle, offering new computational encodings of the 3x+1 conjecture.

ABSTRACT

We give new Turing machines that simulate the iteration of the Collatz 3x+1 function. First, a never halting Turing machine with 3 states and 4 symbols, improving the known 3x5 and 4x4 Turing machines. Second, Turing machines that halt on the final loop, in the classes 3x10, 4x6, 5x4, and 13x2.

Motivation & Objective

  • To construct a more efficient universal simulator for the Collatz 3x+1 function using fewer states and symbols.
  • To refine the classification of Turing machines by demonstrating that the 3x+1 function can be simulated by a 3×4 machine that never halts.
  • To design new halting Turing machines that detect the final 2→1→2 cycle of the Collatz sequence, providing a computational test for the 3x+1 conjecture.
  • To explore the use of different number representations—binary, unary, and base 3—within Turing machine simulations to optimize state and symbol counts.

Proposed method

  • The 3×4 Turing machine operates on numbers encoded in base 3, leveraging the ease of multiplication by 3 and standard division by 2 algorithms.
  • The halting machines are derived by extending known non-halting machines with additional states to detect the configuration corresponding to the number 1 or the 2→1→2 loop.
  • For the 3×10 and 4×6 machines, the construction adds a halting state to Margenstern’s 2×10 and 3×6 machines, respectively, to detect the (A1)b configuration signaling the number 1.
  • The 5×4 machine uses base 3 encoding and introduces a state to clean up trailing zeros and detect the (Bb) configuration as a halt condition.
  • The 13×2 machine extends Margenstern’s 11×2 binary-encoded machine by adding states to detect the (A1)10 configuration, signaling the number 1 in binary-coded form.
  • All machines are formally verified to simulate the Collatz function correctly and halt precisely when the sequence reaches the 2→1→2 cycle.

Experimental results

Research questions

  • RQ1Can the Collatz 3x+1 function be simulated by a 3-state, 4-symbol Turing machine that never halts, improving on known 3×5 and 4×4 machines?
  • RQ2Can new halting Turing machines be constructed in the classes 3×10, 4×6, 5×4, and 13×2 that halt exactly when the Collatz sequence reaches the 2→1→2 cycle?
  • RQ3How do different number representations—binary, unary, and base 3—affect the efficiency and design of Turing machines simulating the 3x+1 function?
  • RQ4What is the minimal configuration of states and symbols required to simulate the 3x+1 function with a halting condition on the final loop?

Key findings

  • A new 3×4 Turing machine is constructed that simulates the Collatz 3x+1 function without halting, improving on prior 3×5 and 4×4 machines.
  • The 3×10 Turing machine is derived by adding one state to Margenstern’s 2×10 machine, enabling it to halt when the configuration (A1)b is detected.
  • The 4×6 Turing machine is obtained by extending Margenstern’s 3×6 machine with one additional state to detect the (A1)b configuration and halt.
  • The 5×4 Turing machine is built by extending a 3×4 machine with two new states: one to clean up trailing zeros and another to detect the (Bb) configuration as a halt condition.
  • The 13×2 Turing machine is constructed by adding two states to Margenstern’s 11×2 machine to detect the (A1)10 configuration, signaling the number 1 in binary-coded form.
  • Each of the new halting machines provides a formal, finite-state test for the 3x+1 conjecture: the conjecture holds if and only if the machine halts on all positive integer inputs.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.