Preprint
Article

This version is not peer-reviewed.

The Collatz Conjecture: A Graph-Theoretic Structural Proof

Submitted:

21 October 2025

Posted:

22 October 2025

You are already at the latest version

Abstract
This paper presents a structural proof of the Collatz Conjecture by demonstrating that the Collatz map operates within a finite structural framework. We formalize this framework as a \textbf{17-state Finite State Machine (FSM)} derived directly from the modular properties and integer partitions intrinsic to the Collatz function. The core of the proof lies in a rigorous graph-theoretic analysis of this FSM. We prove that all states representing integers not in the terminal cycle $\{1, 2, 4\}$ form a single \emph{Strongly Connected Component} (SCC), and that this SCC possesses a \emph{unique exit transition} leading irreversibly to the states corresponding to the terminal cycle. By the fundamental properties of finite directed graphs, these structural invariants guarantee that any trajectory---represented as a path through the FSM---must reach the unique terminal cycle in finitely many steps. Thus, convergence emerges as a \emph{structural consequence} of the FSM’s topology, independent of descent-based reasoning or cycle-elimination techniques.
Keywords: 
;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  ;  

1. Introduction

1.1. Background

The Collatz conjecture, proposed by Lothar Collatz in 1937, has fascinated mathematicians for decades. Its statement is deceptively simple: take any positive integer. If it is even, divide it by two; if it is odd, multiply it by three and add one. The conjecture asserts that this process, repeated indefinitely, will always eventually reach the number 1.
Despite its elementary formulation, the conjecture has resisted proof, leading to Paul Erdős’s famous remark, "Mathematics may not be ready for such problems." Previous approaches have ranged from probabilistic arguments suggesting an average decreasing behavior to extensive computational verifications for astronomically large numbers [1,2]. While significant progress, such as Tao’s result that almost all orbits are bounded [3], has been made, a complete and deterministic proof has remained elusive.

1.2. Thesis: Convergence via Finite State Graph Structure

The proof presented herein establishes the Collatz Conjecture by demonstrating that its dynamics are governed by a finite, deterministic state transition system, rather than by chaotic or unbounded numerical behavior. We construct a 17-state Finite State Machine (FSM) that partitions all positive integers according to congruence properties intrinsic to the Collatz map.
The central argument rests on two key topological properties of this FSM’s directed graph:
(1)
The FSM contains a single transient Strongly Connected Component (SCC) encompassing all states except those representing the terminal cycle { 1 , 2 , 4 } .
(2)
This transient SCC possesses exactly one exit transition, which leads irreversibly to the states representing the terminal cycle { 1 , 2 , 4 } , forming the sink of the system.
These graph-theoretic properties—proven through exhaustive state transition analysis— constitute structural invariants of the Collatz map. By the fundamental principles of finite directed graphs, any infinite trajectory within the FSM must eventually traverse the unique exit and enter the terminal sink. Hence, convergence to the cycle { 1 , 2 , 4 } emerges not as a probabilistic tendency or magnitude-based descent, but as a structural necessity dictated by the topology of the FSM itself.

1.3. Structure of the Paper

The paper follows a constructive approach, building the proof from foundational principles to its final, inescapable conclusion.
  • Section 2 defines the fundamental "shape" of the Collatz universe by partitioning the integers into five distinct, structurally significant sets.
  • Section 3 establishes the deterministic "laws of motion" that govern how integers transition between these sets under the Collatz map.
  • Section 4 formalizes this system by constructing the FSM, establishing and proving its critical properties.
  • Section 5 synthesizes these results into a concise graph-theoretic proof of the Collatz Conjecture.
  • Finally, we contextualize our proof with computational verification and a comparison to previous approaches.

2. The Structure of the Funnel: A Foundational Partition of Integers

To prove that a funnel exists, we must first define its shape. This section partitions the set of all positive integers into a handful of mutually exclusive and exhaustive sets. This partition is not arbitrary; each set is defined by properties that are fundamental to its behavior under the Collatz map. This classification forms the bedrock upon which our entire state-based model is built.

2.1. Preliminary Definitions

We begin by formalizing the core concepts.
Definition 2.1 
(The Collatz Function). The Collatz function C : Z + Z + is defined as:
C ( x ) = x / 2 , if x is even 3 x + 1 , if x is odd
Definition 2.2 
(Collatz Sequence). For a starting integer x 0 Z + , the Collatz sequence is the sequence ( x 0 , x 1 , x 2 , ) where x i + 1 = C ( x i ) for all i 0 .

2.2. The Five Foundational Sets

We now partition Z + into five sets, summarized in Table 1.
Definition 2.3 
(The Cycle Set, C ). The set C consists of the numbers in the known terminal cycle:
C = { 1 , 2 , 4 }
Definition 2.4 
(The Precursor Set, P ). The Precursor set P consists of all even multiples of 3:
P = { x Z + x 0 ( mod 6 ) }
Definition 2.5 
(The Root Odd Multiple Set, R ). The set R consists of all odd multiples of 3:
R = { x Z + x 3 ( mod 6 ) }
Definition 2.6 
(The Immediate Successor Set, I ). The set I consists of integers that are the direct result of applying the Collatz function to an element of R :
I = { 3 j + 1 j R }
Definition 2.7 
(The Exclusion Set, X ). The set X consists of all other positive integers:
X = Z + ( C P R I )

2.3. Completeness of the Partition

For this framework to be valid, every integer must belong to exactly one set.
Theorem 2.8 
(Completeness of Partition). The sets C , P , R , I , X form a partition of the positive integers Z + .
Proof. 
We prove this by showing every x Z + belongs to at least one set (exhaustiveness) and to no more than one set (mutual exclusivity).
Exhaustiveness: Let x Z + . We follow a decision tree:
1.
Is x { 1 , 2 , 4 } ? If yes, then x C .
2.
If no, is x 0 ( mod 3 ) ?
  • If yes, is x even? If yes, x P . If no, x R .
3.
If no to both above, does x = 3 j + 1 for some j R ? If yes, x I .
4.
If no to all of the above, then by definition, x X .
This decision tree covers all positive integers, so the union of the sets is Z + .
Mutual Exclusivity: We show the sets are pairwise disjoint.
  • By definition of X , it is disjoint from all other sets.
  • The sets P and R contain multiples of 3, while C and I do not (elements of I are 1 ( mod 3 ) ). Thus, ( P R ) ( C I ) = .
  • P R = as one contains even numbers and the other odd.
  • C I = as the smallest element of I is 10.
All sets are pairwise disjoint. Therefore, the classification is a complete and unique partition.    □
Remark 2.1.
The rigorous partitioning of Z + is the crucial first step. It allows us to move from analyzing the behavior of infinite numbers to analyzing the transitions between a finite number of categories.

3. The Mechanics of the Funnel: Proving the Rules of Transition

Having defined the static geography of our system, we now establish its laws of physics. This section proves a series of lemmas that reveal a deterministic, one-way flow between the sets. We will see that numbers are systematically passed from an infinite past ( P , R ) into a core domain ( I , X ), from which they can never return.

3.1. Finite Descent from the Initial Domain ( P R )

Lemma 3.1 
(Finite P R Transition). For any x P , there exists a finite integer k 1 such that C k ( x ) R .
Proof. 
Let x P . By Definition 2.4, x is an even multiple of 3. We can write x = 2 a · m , where a 1 and m is an odd integer. Since x is a multiple of 3, m must also be a multiple of 3. Thus m R . Applying the Collatz function a times yields:
C a ( x ) = 2 a · m 2 a = m
Since m R , the sequence reaches R in exactly a steps.    □

3.2. The Irreversible Bridge ( R I )

Lemma 3.2 
(Single-Step R I Transition). For every x R , its successor C ( x ) is in I .
Proof. 
Let x R . By Definition 2.5, x is odd. We apply the Collatz rule C ( x ) = 3 x + 1 . The definition of the set I (Definition 2.6) is precisely { 3 j + 1 j R } . Therefore, C ( x ) I .    □

3.3. Structural Confinement ( I , X )

Lemma 3.3 
(Irreversibility of the Bridge). If x I X , then for all k 1 , C k ( x ) P R .
Proof. 
An element of P R must be divisible by 3. Let x I X . By definition, x 0 ( mod 3 ) . We show one application of C ( x ) cannot produce a multiple of 3.
  • Case 1: x is odd.  C ( x ) = 3 x + 1 . Since x 0 ( mod 3 ) , 3 x 0 ( mod 3 ) , so 3 x + 1 1 ( mod 3 ) . An integer congruent to 1 mod 3 cannot be in P or R .
  • Case 2: x is even.  C ( x ) = x / 2 . Assume for contradiction that x / 2 P R . This means x / 2 = 3 k for some integer k. This implies x = 6 k , which means x P . This contradicts our premise that x I X .
Since C ( x ) is never a multiple of 3, and this property is preserved at each step, no future iterate can ever enter P R .    □

3.4. The Absorbing Nature of the Cycle ( C )

Lemma 3.4 
(Invariance of the Cycle Set). If x C , then C ( x ) C .
Proof. 
By direct computation: C ( 1 ) = 4 , C ( 4 ) = 2 , and C ( 2 ) = 1 .    □

4. Formalizing the Funnel: A Refined Finite State Machine

The structure and mechanics we have proven point to a highly organized system. We now formalize this system by constructing a Finite State Machine (FSM). We will first build an intuitive model that shows the general flow, and then refine it into a perfectly deterministic machine whose properties can be rigorously proven.

4.1. The 17-State FSM (Mod 9)

We first construct an FSM based on the state function from Definition 4.2. This model, based on modulo 9, is excellent for visualizing the overall funneling behavior of the system.
Definition 4.1 
(The Three Stages). 1.  Initial Stage ( S P R ): Corresponds to integers divisible by 3. Contains states S P (set P ) and S R (set R ).
2. 
Transient Stage ( S 1 12 ): Corresponds to integers not divisible by 3 and not in C . Contains 12 states, S 1 , , S 12 .
3. 
Terminal Stage ( S C ): Corresponds to C . Contains states S C 1 , S C 2 , S C 4 .
Definition 4.2 
(The State Function (mod 9)). For an integer x I X , its state is determined by the triplet: ( x mod 9 ,   Set Membership , Parity ) . This function uniquely maps every such integer to one of the 12 transient states.
Lemma 4.3 
(Confinement to the Power-of-Two Orbit). Every odd iterate in the transient stage has a residue modulo 9 belonging to the set { 1 , 2 , 4 , 5 , 7 , 8 } .
Proof. 
Let o be an odd integer not divisible by 3. The next odd iterate is q = T * ( o ) = ( 3 o + 1 ) / 2 k . Since 3 o + 1 1 ( mod 3 ) , q cannot be divisible by 3. Its residue modulo 9 must therefore be in the set { 1 , 2 , 4 , 5 , 7 , 8 } , which is precisely the set of residues of { 2 n mod 9 n 0 } .    □
Remark 4.1 (The Modular Carousel). 
This confinement is critical. It shows that the seemingly random walk of odd numbers is, from a modular perspective, tightly constrained. Multiplication by 2 (or 5, its inverse) simply permutes the elements of this set, trapping all odd iterates in a modular carousel: 1 × 2 2 × 2 4 × 2 8 × 2 7 × 2 5 × 2 1 ( mod 9 ) .
Remark 4.2 (Why Modulo 9?). 
The choice of modulo 9 is strategic. As proven in Lemma 4.3, it is the minimal modulus that reveals the fundamental confinement of the transient domain to the power-of-two orbit. This provides an intuitive and visually comprehensible map of the system’s overall funneling behavior.
The state transitions are summarized in Table 2 and visualized in Figure 1. The rigorous justification for each transition is provided in the proof of Lemma 4.4 below.

4.2. State Transition Diagram of the 17-State FSM

Lemma 4.4 
(Exhaustive State Transition Analysis). The transitions between the 12 transient states are deterministic.
Proof. 
We analyze each state by representing an integer x in its general form for that state and applying C ( x ) .
  • From  S 1   ( 1 , I , E ) :  x = 18 m + 10 . C ( x ) = 9 m + 5 . If m even, C ( x ) odd ( S 8 ). If m odd, C ( x ) even ( S 7 ). Next: S 7 , S 8 .
  • From  S 2   ( 1 , X , O ) :  x = 18 k + 1 . C ( x ) = 54 k + 4 . C ( x ) 4 ( mod 9 ) , even, in X . Next: S 5 .
  • From  S 3   ( 2 , X , E ) :  x = 18 k + 2 . C ( x ) = 9 k + 1 . If k odd, C ( x ) I ( S 1 ). If k even, C ( x ) X ( S 2 ). Next: S 1 , S 2 .
  • From  S 4   ( 2 , X , O ) :  x = 18 k + 11 . C ( x ) = 54 k + 34 . C ( x ) 7 ( mod 9 ) , even, in X . Next: S 9 .
  • From  S 5   ( 4 , X , E ) :  x = 18 k + 4 . C ( x ) = 9 k + 2 . If k even, C ( x ) even ( S 3 ). If k odd, C ( x ) odd ( S 4 ). Next: S 3 , S 4 .
  • From  S 6   ( 4 , X , O ) :  x = 18 k + 13 . C ( x ) = 54 k + 40 . C ( x ) 4 ( mod 9 ) , even, in X . Next: S 5 .
  • From  S 7   ( 5 , X , E ) :  x = 18 k + 14 . C ( x ) = 9 k + 7 . If k even, C ( x ) odd ( S 10 ). If k odd, C ( x ) even ( S 9 ). Next: S 9 , S 10 .
  • From  S 8   ( 5 , X , O ) :  x = 18 k + 5 . C ( x ) = 54 k + 16 . C ( x ) 7 ( mod 9 ) , even, in X . Next: S 9 .
  • From  S 9   ( 7 , X , E ) :  x = 18 k + 16 . C ( x ) = 9 k + 8 . If k even, C ( x ) even ( S 11 ). If k odd, C ( x ) odd ( S 12 ). Next: S 11 , S 12 .
  • From  S 10   ( 7 , X , O ) :  x = 18 k + 7 . C ( x ) = 54 k + 22 . C ( x ) 4 ( mod 9 ) , even, in X . Next: S 5 .
  • From  S 11   ( 8 , X , E ) :  x = 18 k + 8 . C ( x ) = 9 k + 4 . If k = 0 , C ( x ) = 4 ( S C 4 ). If k > 0 even, C ( x ) even ( S 5 ). If k odd, C ( x ) odd ( S 6 ). Next: S 5 , S 6 , S C 4 .
  • From  S 12   ( 8 , X , O ) :  x = 18 k + 17 . C ( x ) = 54 k + 52 . C ( x ) 7 ( mod 9 ) , even, in X . Next: S 9 .
All transitions are deterministic and uniquely defined.    □

4.3. Proving the Funnel’s Inescapable Properties

We now use this FSM transition analysis to prove the three crucial constraints on every Collatz trajectory.

4.3.1. The Unique Exit Path

Lemma 4.5 
(The Unique Gateway State). State S 11 is the only state within the transient stage T = { S 1 , , S 12 } that has a direct transition to any state within the terminal cycle stage S C = { S C 1 , S C 2 , S C 4 } .
Proof. 
This follows directly from the exhaustive state transition analysis presented in Lemma 4.4. Reviewing the ’Next State(s)’ column for each of the 12 transient states ( S 1 through S 12 ), we observe:
  • States S 1 through S 10 and state S 12 transition only to other states within the transient stage T .
  • State S 11 (representing integers x = 18 k + 8 , Even, x X ) has transitions to S 5 , S 6 , and S C 4 . The transition to S C 4 occurs specifically when k = 0 , i.e., for the integer x = 8 , where C ( 8 ) = 4 .
Therefore, S 11 is the unique state in the transient stage T possessing a transition path leading directly into the terminal cycle stage S C .    □

4.3.2. The Transient Stage as a Single SCC

Lemma 4.6 
(Transient Stage as a Single SCC). The set of transient states T = { S 1 , S 2 , , S 12 } forms a single Strongly Connected Component (SCC) under the Collatz state transitions.
Proof. 
To prove that T forms a single SCC, we must show that for any ordered pair of states ( S i , S j ) within T , there exists a directed path from S i to S j . We establish this by demonstrating that all states can reach a central pivot state ( S 11 ), and that this pivot state can reach all other states.
Part 1: Universal Reachability to the Gateway ( S 11 ). Let A k be the set of states from which S 11 can be reached in at most k steps. We define A 0 = { S 11 } and construct the sets recursively using the transition rules of Lemma 4.4:
  • A 0 = { S 11 } (base case).
  • A 1 = A 0 { S 9 } , since S 9 S 11 .
  • A 2 = A 1 { S 4 , S 7 , S 8 , S 12 } , since these states all have direct transitions to S 9 A 1 .
  • A 3 = A 2 { S 1 , S 5 } , since S 1 { S 7 , S 8 } and S 5 { S 3 , S 4 } , all of which are in A 2 .
  • A 4 = A 3 { S 2 , S 3 , S 6 , S 10 } , since these states all transition to states within A 3 .
The final set is A 4 = { S 1 , , S 12 } = T . This exhaustive backward construction proves that every transient state has a finite directed path to S 11 .
Part 2: Universal Reachability from the Gateway ( S 11 ). We now show that S 11 has a path to every other state in T . Let R k be the set of states reachable from S 11 in at most k steps.
  • R 0 = { S 11 } .
  • From S 11 , transitions lead to { S 5 , S 6 } . Thus, R 1 = { S 5 , S 6 , S 11 } .
  • By exhaustive forward path tracing (as detailed in Lemma 4.4), we find that the set of reachable states expands with each step until R 5 = { S 1 , , S 12 } = T .
This proves that a finite directed path exists from S 11 to every other state in T .
Conclusion: For any pair of states ( S i , S j ) in T , there exists a path from S i to S 11 (by Part 1) and a path from S 11 to S j (by Part 2). Concatenating these paths establishes a path from S i to S j . Therefore, the set of transient states T constitutes a single Strongly Connected Component.    □
Remark 4.3.
The proof uses a standard pivot-based argument in graph theory: if all nodes in a set can reach and be reached from a common node (here, S 11 ), then the entire set is strongly connected. This satisfies the formal definition of an SCC: for any pair ( S i , S j ) T , there exists a directed path from S i to S j .
Remark 4.4 (Unique Exit via State S11). 
Within the transient SCC T , the only state with a direct transition to the terminal cycle S C is the gateway state S 11 . As shown in Lemma 4.4, this transition occurs only for the specific input x = 8 , mapping S 11 S C 4 . All other inputs to S 11 (where k > 0 ) transition back into the transient SCC (to S 5 or S 6 ).

4.3.3. No Non-Trivial Cycles

We have established that the 12 transient states form a single, large Strongly Connected Component (Lemma 4.6). The final step is to prove that this component is truly transient—that is, that no trajectory can loop indefinitely within it. The following lemma proves that the existence of a non-trivial Collatz cycle is structurally incompatible with the FSM’s topology, as it would require a "sink component" where none can exist.
Lemma 4.7 
(Acyclicity of the Transient Stage). No non-trivial Collatz cycle can exist within the transient stage T = { S 1 , , S 12 } .
Proof. 
Assume for contradiction that a non-trivial cycle, L, exists.
(i)
By Lemma 3.3, this cycle L cannot contain any multiples of 3. Therefore, all integers and states in L must be contained entirely within the transient stage T .
(ii)
By definition, such a cycle L would form a sink component (a terminal SCC) in the state graph. This means that no state in L could have a directed path to any state outside of L.
(iii)
This leads to a direct contradiction. The proof of Lemma 4.6 (Part 1) demonstrated via exhaustive backward construction that every state in T has a finite, directed path to the gateway state S 11 .
(iv)
By Lemma 4.5, S 11 has a valid exit transition to S C 4 , which is outside T .
Since every state in T has a path to an exit, no subset of T can form a sink component. Therefore, no non-trivial cycle L can exist.    □
Remark 4.5 (Exit Paths and Acyclicity in a Strongly Connected Component). 
The logic of Lemma 4.7 rests on a fundamental principle of finite directed graphs: a strongly connected component (SCC) cannot simultaneously contain an exit path—a transition that irreversibly leaves the component—and an internal sink component, such as a sub-cycle with no exit.
By definition, every node in an SCC must be reachable from every other node. If the SCC contains a node with an irreversible transition to another component (such as S 11 ), then all nodes in the SCC must have a path to that exit. This structurally prohibits the existence of any internal subset of nodes that does not lead to the exit, thereby ruling out internal sinks or non-trivial terminal cycles.

4.4. Global Structure via Graph Condensation

To synthesize the FSM’s topology in purely graph-theoretic terms, we condense its 17 states into three components based on strong connectivity. This reveals a funnel-shaped DAG structure that guarantees all trajectories ultimately terminate in the terminal cycle.
Lemma 4.8 
(Condensation Structure of the FSM). The condensation graph of the 17-state FSM is a directed acyclic graph (DAG) with exactly three conceptual components: an initial component, a single transient strongly connected component, and a terminal absorbing cycle.
Proof. 
Let G = ( V , E ) be the directed graph induced by the FSM. We identify three fundamental components based on their graph-theoretic properties:
  • C initial = { S P , S R } : An acyclic entry component representing integers divisible by 3.
  • C transient = { S 1 , S 2 , , S 12 } : A single strongly connected component representing the core funnel (as proven in Lemma 4.6).
  • C terminal = { S C 1 , S C 2 , S C 4 } : A closed cycle (and thus an SCC) corresponding to the terminal set { 1 , 2 , 4 } (Lemma 3.4).
The transitions between these components follow the one-way structure:
C initial C transient C terminal
Since no transitions leave C terminal , it acts as the unique sink component of the entire system. Furthermore, Lemma 4.7 proves that T = { S 1 , , S 12 } = C transient contains no internal sink components (i.e., no non-trivial cycles). Because C transient is a transient component with a proven exit path to C terminal (Lemma 4.5), all trajectories that enter it must eventually take that exit.
Thus, the condensation graph of the FSM is a DAG that funnels all trajectories from the initial stage into the unique terminal sink.    □
Figure 2. Condensation graph of the FSM: a DAG with three components representing the initial, transient, and terminal stages.
Figure 2. Condensation graph of the FSM: a DAG with three components representing the initial, transient, and terminal stages.
Preprints 181592 g002

5. The Inevitable Convergence: Structural Proof of the Collatz Conjecture

With the state space of the Collatz map fully partitioned and its finite transition structure formalized as a directed graph, convergence follows as a direct consequence of that structure.
Theorem 5.1 
(Structural Proof of the Collatz Conjecture). Every Collatz sequence starting from any positive integer x 0 Z + eventually enters the terminal cycle { 1 , 2 , 4 } .
Proof. 
The proof synthesizes the number-theoretic partition, the finite-state dynamics, and the graph-theoretic structure of the FSM:
Step 1. 
Total State Coverage. By Theorem 2.8, every positive integer belongs to exactly one of the 17 states of the FSM. Thus, every Collatz sequence corresponds to a deterministic path through a finite state system.
Step 2. 
Deterministic Transitions. By Lemma 4.4, the transition rules between states are deterministic. The evolution of any sequence is therefore a deterministic walk on a finite graph.
Step 3. 
Absence of Non-Trivial Cycles. The existence of a non-trivial cycle (a loop other than { 1 , 2 , 4 } ) is structurally impossible. As proven in Lemma 4.7, no subset of the transient states C transient can form a "sink component" because all transient states have a directed path to the gateway state S 11 , which exits the transient stage.
Step 4. 
Inevitable Convergence to Terminal Cycle. Since every sequence is a walk on a finite graph (Step 1) and non-trivial cycles are impossible (Step 3), the only possible infinite behavior is to enter a terminal SCC. By Lemma 3.4, the { 1 , 2 , 4 } cycle ( C terminal ) is an absorbing component. As all other states are transient (per Lemmas 3.1, 3.2, 4.5, and 4.7), all paths must eventually lead to and be absorbed by this unique terminal cycle.
Preprints 181592 i001
It follows that the Collatz Conjecture is true.    □

6. Supporting Evidence and Context

6.1. Computational Verification

To empirically test the theoretical claims of our 17-state finite state machine (FSM) - including state assignments, transition rules, and the unique gateway mechanism - we implemented a computational verification over a large numerical range. The goal was to confirm that Collatz sequences evolve exactly as predicted by the FSM structure.
A Python script (verify_collatz_fsm.py) was written using the multiprocessing module (with 8 workers) to test all integers from 1 up to 10 7 . For each starting value n, the script traced its Collatz sequence and performed the following checks at every step until reaching the cycle set C = { 1 , 2 , 4 } :
  • Initial state classification: Confirmed that each n is correctly mapped to one of the 17 FSM states via the getState function.
  • Deterministic transition verification: Ensured that each observed transition S i S j conformed exactly to the FSM’s transition rules (Lemma 4.4).
  • Gateway consistency: Verified that any transition to 4 (i.e., to S C 4 ) occurred only from either x = 8 (in S 11 ) or x = 1 (in S C 1 ), as required by the FSM structure.
  • State coverage: Ensured that no number encountered during the sequence evaluation mapped to an undefined or invalid state.
  • Step count: Recorded the number of steps required for each sequence to reach 1.
A summary of the results is shown in Table 3. All checks passed without error, and no violations were detected.
These results confirm the empirical soundness of the finite state model over all tested inputs. Every transition was deterministic, every number remained confined within the FSM structure, and the unique gateway mechanism through S 11 behaved exactly as predicted. Notably, the number 8 , 400 , 511 achieved the maximum stopping time within this range, consistent with prior computational records.
This large-scale verification strongly reinforces the validity of the FSM framework and its predictive power in modeling Collatz dynamics.

6.2. Empirical Evidence from Literature

Decades of large-scale computational searches have verified the conjecture up to enormous numbers (e.g., 2 68 ) [2]. Our proof provides the theoretical explanation for these empirical results: divergent trajectories and non-trivial cycles are not just elusive, they are structurally forbidden.

6.3. Comparison with Previous Approaches

Unlike probabilistic models, which suggest convergence based on expected statistical behavior, the proof presented here is entirely deterministic, grounded in the rigorous graph-theoretic properties of a Finite State Machine (FSM) derived from the Collatz function itself. In contrast to purely computational verifications that confirm the conjecture only up to large numerical bounds, this framework provides a general, all-encompassing argument valid for every positive integer. Its novelty lies in synthesizing integer partitioning and modular arithmetic to construct a complete, finite FSM that models all possible Collatz trajectories. By analyzing the structural invariants of this FSM—specifically, the existence of a single transient Strongly Connected Component and a unique exit path to the terminal sink—the proof demonstrates that convergence to the { 1 , 2 , 4 } cycle is not empirical or probabilistic, but a mathematical necessity imposed by the topology of the Collatz state graph.

7. Conclusion

We have presented a deterministic proof of the Collatz Conjecture by formalizing its dynamics within a rigorously defined 17-state Finite State Machine (FSM). This framework transcends probabilistic reasoning and large-scale computational verification, demonstrating instead that the conjecture’s truth arises from a deterministic structural funnel inherent in the arithmetic rules of the Collatz map.
Through exhaustive state transition analysis and graph-theoretic reasoning, we established the following key structural properties:
(1)
The set of all positive integers can be partitioned such that their behavior under the Collatz map is completely represented by the 17-state FSM.
(2)
The FSM’s transient states—those outside the terminal cycle { 1 , 2 , 4 } —form a single Strongly Connected Component (SCC).
(3)
This transient SCC possesses a unique exit transition leading irreversibly to the terminal states corresponding to the cycle { 1 , 2 , 4 } .
These structural invariants—a finite directed graph containing one transient SCC with a single irreversible exit to an absorbing sink—mathematically necessitate that any trajectory, represented as a path through the FSM, must eventually traverse this exit and converge to the terminal cycle { 1 , 2 , 4 } in a finite number of steps.
This result underscores the power of transforming problems defined over infinite domains (such as the positive integers) into finite, structurally complete models. By revealing the underlying finite-state topology of the Collatz map, this proof establishes that convergence is not a numerical coincidence or empirical regularity, but a structural necessity—a manifestation of hidden order within a system long regarded as chaotic.

Acknowledgments

The author acknowledges his wife, Ajifa Atuluku, for her steadfast encouragement throughout the process of drafting this proof. The author also acknowledges the use of AI-assisted tools (Google Gemini AI and ChatGPT) for formatting assistance and language clarity. All mathematical content and original ideas in this manuscript were developed independently by the author.

Data Availability Statement

The Python script used to generate the computational verification data presented in this proof is available online at the following open code repository: [Link to Code Repository].

References

  1. J. C. Lagarias, "The 3x + 1 problem and its generalizations," American Mathematical Monthly, vol. 92, no. 1, pp. 3–23, 1985. [CrossRef]
  2. T. Oliveira e Silva, "Empirical verification of the 3x+1 and related conjectures," The Ultimate Challenge: The 3x+1 Problem, J. C. Lagarias, Ed. Providence, RI: Amer. Math. Soc., 2010, pp. 189–207.
  3. T. Tao, "Almost all orbits of the Collatz map attain almost bounded values," Forum of Mathematics, Pi, vol. 10, E2, 2022. [CrossRef]
Figure 1. State transition diagram for the 17-state finite state machine modeling Collatz dynamics. The three stages are shown: initial stage ( S P , S R , green), transient stage ( S 1 S 12 , white), and terminal cycle stage ( S C 1 , S C 2 , S C 4 , red). The gateway state S 11 (orange) provides the unique transition into the terminal stage. All transitions are deterministic under the Collatz function.
Figure 1. State transition diagram for the 17-state finite state machine modeling Collatz dynamics. The three stages are shown: initial stage ( S P , S R , green), transient stage ( S 1 S 12 , white), and terminal cycle stage ( S C 1 , S C 2 , S C 4 , red). The gateway state S 11 (orange) provides the unique transition into the terminal stage. All transitions are deterministic under the Collatz function.
Preprints 181592 g001
Table 1. Summary of the Foundational Integer Partition
Table 1. Summary of the Foundational Integer Partition
Set Name Defining Property Role in the Funnel Examples
C Cycle Set { 1 , 2 , 4 } The inescapable destination 1 , 2 , 4
P Precursor Set Even multiple of 3 Infinite "past" or entry zone 6 , 12 , 18 , 24
R Root Odd Set Odd multiple of 3 Final exit from the "past" 3 , 9 , 15 , 21
I Successor Set 3 x + 1 for x R The narrow bridge to the core 10 , 28 , 46 , 64
X Exclusion Set All other integers The core transient domain 5 , 7 , 8 , 11 , 13
Table 2. Transition Table for the Coarse-Grained Transient Stage ( S 1 12 )
Table 2. Transition Table for the Coarse-Grained Transient Stage ( S 1 12 )
State Residue (mod 9) Set Parity Next State(s)
S 1 1 I Even S 7 , S 8
S 2 1 X Odd S 5
S 3 2 X Even S 1 , S 2
S 4 2 X Odd S 9
S 5 4 X Even S 3 , S 4
S 6 4 X Odd S 5
S 7 5 X Even S 9 , S 10
S 8 5 X Odd S 9
S 9 7 X Even S 11 , S 12
S 10 7 X Odd S 5
S 11 8 X Even S 5 , S 6 , S C 4
S 12 8 X Odd S 9
Table 3. Computational verification of FSM structure for n = 1 to 10 7
Table 3. Computational verification of FSM structure for n = 1 to 10 7
Verification Criterion Result
Total integers tested 10,000,000
Starting in stage S P R 3,333,333
Starting in stage S 1 - 12 6,666,664
Starting in cycle stage S C 3
State assignment failures 0
Invalid transitions 0
Incorrect gateway entries 0
Misclassified state for x = 8 (should be S 11 ) 0
Overflow or runtime errors 0
Maximum steps to reach 1 685
Number achieving maximum steps 8,400,511
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content.
Copyright: This open access article is published under a Creative Commons CC BY 4.0 license, which permit the free download, distribution, and reuse, provided that the author and preprint are cited in any reuse.
Prerpints.org logo

Preprints.org is a free preprint server supported by MDPI in Basel, Switzerland.

Subscribe

Disclaimer

Terms of Use

Privacy Policy

Privacy Settings

© 2026 MDPI (Basel, Switzerland) unless otherwise stated