Preprint
Article

This version is not peer-reviewed.

A Proof of the Collatz Conjecture via Finite State Machine Analysis and Structural Confinement

Submitted:

14 October 2025

Posted:

15 October 2025

Read the latest preprint version here

Abstract
We present a deterministic and fully constructive proof of the Collatz Conjecture by modeling its dynamics as a \textbf{17-state Finite State Machine (FSM)} defined over modular arithmetic. The FSM partitions the positive integers $\mathbb{Z}^+$ into five disjoint classes based on parity and residue modulo 9, providing a complete finite representation of all possible trajectories. Within this framework, every sequence ultimately follows a canonical trajectory through three inevitable stages: an initial stage of multiples of 3, a finite transient stage of 12 coprime states, and the terminal cycle $\mathcal{C}=\{1,2,4\}$. The arithmetic refinement of the map stabilizes modulo $M = 2^3\!\cdot\!9 = 72$, producing a closed deterministic residue system. Within this finite modular structure, the Collatz map admits \textbf{no additional cycles or unbounded trajectories}: every path is funneled through the \textbf{unique gateway state $S_{11}$} (residue 8 mod 9) into the invariant cycle $\mathcal{C}$. The result establishes global convergence of the Collatz map, supported by computational verification up to $10^{7}$.
Keywords: 
;  ;  ;  ;  ;  ;  ;  ;  ;  

1. Introduction

1.1. Background and Context

The Collatz conjecture, proposed by Lothar Collatz in 1937, has fascinated mathematicians for decades due to its deceptively simple definition and yet unresolved status [2,4]. Also known as the 3 x + 1 problem, it asserts that for any positive integer x, repeated application of the function
C ( x ) = x 2 , if x is even , 3 x + 1 , if x is odd ,
will eventually reach the cycle ( 4 2 1 ) . Despite extensive computational verification and probabilistic arguments supporting the conjecture [5,8], a general proof has remained elusive, highlighting a profound disconnect between the conjecture’s elementary formulation and the complex dynamics it generates.
Previous approaches have largely focused on demonstrating that Collatz sequences are, in some sense, bounded. Probabilistic models suggest an average decreasing behavior [4,6], while computational efforts have verified convergence for astronomically large starting values [1,7]. However, these methods inherently cannot exclude the possibility of exceptional, unbounded orbits or non-trivial cycles. Even Tao’s significant result [8], proving that almost all orbits are bounded, does not establish boundedness for every starting number.

1.2. Key Contributions of This Paper

We present a deterministic and fully constructive proof of the Collatz Conjecture by modeling its dynamics as a 17-state Finite State Machine (FSM) grounded in modular arithmetic. This FSM partitions the positive integers N + into five disjoint and exhaustive sets based on parity and residue class modulo 9, yielding a complete finite representation of the Collatz dynamics.
In this formulation, a trajectory refers not to a specific numerical sequence beginning from a single integer, but to a canonical residue trajectory within the FSM. Each canonical trajectory encodes all Collatz sequences whose iterates share the same residue transitions modulo M = 2 3 · 9 = 72 , and thus collectively represents every possible numerical path under the Collatz map.
The principal contribution of this framework is transforming the problem of unbounded numerical iteration into one of finite-state modular graph traversal. We prove that the structural dynamics of the Collatz map enforce a three-stage deterministic progression on every canonical trajectory, culminating in the unique terminal cycle C = { 1 , 2 , 4 } :
1.
Exit from the Infinite Past ( S P R ): Trajectories beginning in the initial stage (integers divisible by 3) are forced to exit this unconstrained region and enter the finite transient core after finitely many steps. This confines all subsequent dynamics to the finite subsystem S 1 12 .
2.
Deterministic Evolution within the Finite Transient Stage ( S 1 12 ): Within this stage, the arithmetic structure of the Collatz map stabilizes modulo M = 72 . Beyond this refinement, no new transition types arise, and the system becomes a finite deterministic transformation on Z 72 . A direct modular argument shows that the congruence 3 m 2 K ( mod 72 ) has no solution for positive integers m , K , thereby eliminating all non-trivial cycles and divergent trajectories. The transient stage thus forms a finite, acyclic, strongly connected component.
3.
Entry into the Absorbing Cycle ( S C ): The acyclic structure ensures that every canonical trajectory in the transient domain reaches the unique gateway state S 11 (residue 8 mod 9), through which it deterministically transitions into the terminal cycle C = { 1 , 2 , 4 } . This provides a complete and verifiable mechanism of deterministic funneling from the transient stage into the absorbing cycle.
This framework yields a symbolic, modular, and deterministic resolution of the Collatz Conjecture. It demonstrates that infinite escape from the terminal cycle is not merely numerically impossible but also structurally forbidden by the finite-state and modular properties of the Collatz map.

1.3. Structure of this Paper

This paper is organized as follows:
  • Section 2 establishes the fundamental mathematical framework, including the Collatz function definition and key concepts such as odd iterates and accelerated Collatz steps.
  • Section 3 introduces our novel partitioning of positive integers into five disjoint sets ( C , R , P , I , X ) and proves the completeness of this classification.
  • Section 4 analyzes the behavior of the Collatz function on our defined sets, establishing key transition properties that form the basis for our finite state machine construction.
  • Section 5 constructs the 17-state finite state machine, proving its completeness, determinism, and the strong connectivity of the transient stage S 1 - 12 . Crucially, we prove that this stage forms an acyclic graph that funnels all trajectories toward the unique gateway state S 11 .
  • Section 6 presents the main convergence proof, synthesizing all previous results to demonstrate that all Collatz sequences must eventually reach the terminal cycle.
  • Section 7 provides computational verification of our FSM framework for integers up to 10 7 , confirming the theoretical predictions.
  • Section 8 reviews existing large-scale computational evidence that supports our theoretical results.
  • Section 9 contextualizes our approach within the broader literature on the Collatz problem, highlighting the novel contributions of our method.
  • Section 10 summarizes our results and discusses implications for future research in number theory and discrete dynamical systems.
The logical flow of the proof is designed to be cumulative: each section builds upon the results of previous sections, culminating in the complete resolution of the conjecture in Section 6. The finite state machine diagram (Figure 1) provides a visual summary of the core structural framework.

2. Mathematical Framework and Definitions

To rigorously analyze the Collatz Conjecture, we begin by establishing the fundamental mathematical definitions, notation, and the core function at the heart of the problem.
Definition 2.1 
(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 , ) defined by
x i + 1 = C ( x i ) for all i 0 .
Definition 2.3 
(Odd Iterate). Given a Collatz sequence ( n k ) k 0 , an odd iterate is a term n k that is odd. We often denote odd iterates by o k .
Definition 2.4 
(Odd Iteration (or accelerated Collatz step)). An odd iteration (also called an accelerated Collatz step) is the transformation that maps an odd integer o directly to the next odd integer in its Collatz sequence. It is given by
T * ( o ) = 3 o + 1 2 v 2 ( 3 o + 1 ) ,
where v 2 ( m ) denotes denotes the 2-adic valuation of m, i.e., the exponent of the largest power of 2 dividing m. This guarantees that T * ( o ) is odd. In some residue class analyses (e.g., modulo 4 or 12) one considers the simplified version
T * ( o ) = 3 o + 1 2 ,
when focusing on residue class transitions and boundedness arguments.

3. State Space Partitioning for Collatz Dynamics

To facilitate a structured analysis of the Collatz process, we begin by partitioning the set of positive integers ( Z + ) into a collection of mutually exclusive and collectively exhaustive sets. The partitioning is designed to capture key properties of numbers under the Collatz function, exposing deterministic relationships between a finite number of sets, facilitating the process of proving the conjecture.

3.1. Defining Fundamental sets in Collatz Analysis

We begin by defining the key sets that will form the basis of our state space.
Definition 3.1 
(Cycle Set). The cycle set C consists of the numbers known to form a repeating cycle:
C = { 1 , 2 , 4 } .
Explanation of the cycle set: The cycle set C = { 1 , 2 , 4 } is fundamental to the Collatz conjecture. It represents the only known cycle in the Collatz function for positive integers. When a Collatz sequence reaches any of these numbers, it enters a loop that cycles as
1 4 2 1 .
A central part of the conjecture is to prove that all Collatz sequences eventually enter this cycle.
Definition 3.2 
(ROM3 Set). The ROM3 set R comprises all odd positive multiples of 3:
R = { x Z + x = 3 j , where j is an odd integer } .
Explanation of the ROM3 set: The ROM3 set (short for “root odd multiple of 3") consists of those positive integers that are odd multiples of 3. For example, 3 , 9 , 15 , belong to R . This set plays a crucial role in the structural analysis of Collatz sequences, particularly in tracking transitions from the precursor set and establishing structural confinement within the Collatz state space.
Definition 3.3 
(Precursor Set). The precursor set P consists of all even positive multiples of 3:
P = { x Z + x = 6 j , where j is a positive integer } .
Explanation of the precursor set: The precursor set P is defined as the set of positive integers that are even multiples of 3 (i.e., numbers satisfying x 0 ( mod 6 ) ). For instance, 6 , 12 , 18 , belong to P . The term “precursor" reflects that, under reverse Collatz iteration, numbers in P serve as the origins that structurally precede the ROM3 set R .
Definition 3.4 
(Immediate Successor Set). The immediate successor set I is defined as
I = { x Z + x = 9 j + 1 , where j is an odd integer } .
Explanation of the immediate successor set: The immediate successor set I consists of numbers of the form 9 j + 1 with j odd. For example, 10 , 28 , 46 , are in I . When the Collatz function is applied to a number in the ROM3 set, the very next number in the sequence falls into I , marking the next step in the structural chain.
Definition 3.5 
(Exclusion Set). The exclusion set X consists of numbers that do not belong to C , R , P , or I :
X = { x Z + x C R P I } .
Explanation of the exclusion set: The exclusion set X is defined by exclusion. X consists precisely of positive integers that are not divisible by 3 and are not in C or I .

3.2. Completeness of Classification

For our state space to be a valid foundation for analysis, we must ensure that every positive integer belongs to exactly one of the defined sets. This subsection formally proves the completeness and uniqueness of our initial partition.
Theorem 3.6 
(Completeness of Classification: Partitioning of positive integers). The set of positive integers is completely and uniquely partitioned as follows:
Z + = C R P I X .
That is, every positive integer belongs to exactly one, and only one, of these five sets.
Proof. 
Proof strategy: We prove completeness by first showing that every x Z + belongs to at least one of the five sets (exhaustiveness) and then proving that no x can belong to more than one set (mutual exclusivity).
Step 1: Exhaustiveness.
Let x be an arbitrary positive integer.
  • Case 1:  x 0 ( mod 3 ) .
    If x = 3 j with j odd, then by Definition 3.2, x R .
    If x = 6 j for some j 1 , then by Definition 3.3, x P .
  • Case 2:  x 0 ( mod 3 ) .
    If x C , it is classified immediately.
    If x C , then check:
    *
    If x = 9 j + 1 for some odd j, then by Definition 3.4, x I .
    *
    Otherwise, by Definition 3.5, x X .
Thus, every x is assigned to at least one set.
Step 2: Mutual exclusivity.
We now verify that these sets are pairwise disjoint.
  • C R = since C = { 1 , 2 , 4 } (none of which are divisible by 3) while every element in R is divisible by 3.
  • C P = because C contains only small numbers not divisible by 3 and P consists of even multiples of 3.
  • C I = and C X = by definition.
  • The remaining intersections ( R P , R I , R X , P I , P X , I X ) are similarly ruled out by the definitions and congruence conditions imposed on each set.
Conclusion: Since every positive integer belongs to exactly one of C , R , P , I , or X , the classification is complete.    □

4. Properties of the Collatz Function on the Defined Sets

Having established that the set C is a unique, absorbing cycle within the Collatz process, we now proceed to map the properties of the Collatz function on all our sets (as defined in Section 3): C , R , P , I , and X . This analysis reveals crucial properties that would enable us confine the Collatz process to a finite number of analytical states in Section 5.

4.1. Mapping Properties of the Precursor Set: Initial Transitions

We begin by analyzing the behavior of the precursor set ( P ) under the Collatz function, identifying the set to which its elements are mapped in the subsequent iteration.
Lemma 4.1 
( P mapping: Descending from the infinite, ordered past). Iterates from the precursor set follow a predictable descent, remaining within P until their final transition to R .
That is, if x P , then C ( x ) P R .
Proof. 
Proof overview: We express an arbitrary x P as 6 j and apply the Collatz function. Depending on whether j is odd or even, C ( x ) lands in R or remains in P , respectively.
Step 1: Express x in terms of P .
By Definition 3.3,
P = { x Z + x = 6 j , where j is a positive integer } .
Thus, x = 6 j for some positive integer j.
Step 2: Apply the Collatz function.
Since x is even,
C ( x ) = x 2 = 6 j 2 = 3 j .
Step 3: Analyze C ( x ) = 3 j based on the parity of j.
  • Case 1: If j is odd, then by Definition 3.2, 3 j R .
  • Case 2: If j is even, write j = 2 m ; then
    C ( x ) = 3 ( 2 m ) = 6 m P .
Conclusion: In both cases, C ( x ) P R .    □

4.2. Finite Transition from Precursor to ROM3

We now establish a crucial property of the Precursor set ( P ): that repeated application of the Collatz function to any element in P will, in a finite number of steps, result in an element in the ROM3 set ( R ). This property is essential for demonstrating the deterministic transition between the initial states of our finite state machine, as will be shown in Section 5.
Lemma 4.2 
(Finite Transition from P to R ). For any x P , there exists a finite integer n 0 such that C n ( x ) R , where C n ( x ) denotes the n-fold application of the Collatz function (with C 0 ( x ) = x ).
Proof. 
By definition, if x P , then x = 6 k for some positive integer k. We can write k as k = 2 a · b , where a 0 is an integer and b is an odd integer. Substituting this into the expression for x, we get:
x = 6 k = 6 ( 2 a · b ) = 2 a + 1 · 3 b
Now, consider the repeated application of the Collatz function. Since x is even, we repeatedly divide by 2:
C ( x ) = x 2 = 2 a · 3 b
C 2 ( x ) = C ( x ) 2 = 2 a 1 · 3 b
C a + 1 ( x ) = C a ( x ) 2 = 2 0 · 3 b = 3 b
Since b is odd, 3 b is an odd multiple of 3. Therefore, 3 b R . We have found a finite n = a + 1 such that C n ( x ) R .    □

4.3. Transition from ROM3 Set to Immediate Successor Set

Following the flow of sequences, we next examine the transformation of the ROM3 set ( R ) under the Collatz function, revealing its predictable successor set ( I ). We will demonstrate later that, once a sequence crosses into I , it can never return to R or P .
Lemma 4.3 
( R mapping to immediate successor set I ). For every x R , we have
C ( x ) I .
Proof. 
Proof overview: We express an element x R as 3 j (with j odd), apply the Collatz function, and show the resulting number 9 j + 1 fits the definition of I .
Step 1: Express x in terms of R .
If x R , then x = 3 j for some odd integer j.
Step 2: Apply the Collatz function.
Since x is odd,
C ( x ) = 3 x + 1 = 9 j + 1 .
Step 3: Verify membership in I .
By Definition 3.4, numbers of the form 9 j + 1 (with j odd) belong to I .
Conclusion: Hence, for every x R , we have C ( x ) I .    □

4.4. Descent from Immediate Successor Set into the Exclusion Set

Continuing our analysis of set transitions, we now investigate the immediate successor set ( I ) and its image under the Collatz function.
Lemma 4.4 
(Mapping from I to exclusion). If x I , then
C ( x ) X .
Proof. 
Proof overview: We show that for x I , after applying the Collatz function, the resulting number satisfies the conditions for membership in X ; that is, it does not belong to C , R , P , or I and the reverse Collatz operation is defined.
Step 1: By Definition 3.4, if x I then
x = 9 j + 1 , with j odd .
Step 2: Since x is even, applying the Collatz function yields
C ( x ) = x 2 = 9 j + 1 2 .
Step 3: Verify that C ( x ) satisfies the conditions for X :
  • C ( x ) C because C ( x ) 10 2 = 5 and C = { 1 , 2 , 4 } .
  • C ( x ) R : If 9 j + 1 2 = 3 k for some odd k, then 9 j + 1 = 6 k and 1 = 3 ( 2 k 3 j ) , a contradiction.
  • C ( x ) P or I : Similar contradictions arise.
Conclusion: Thus, C ( x ) X .    □

4.5. Confinement of Sequences Within the Bounded State Space

A crucial step in our analysis is to demonstrate that once a Collatz sequence enters the exclusion set ( X ), it remains confined to a specific subset of our state space, facilitating a more detailed examination of its long-term behavior.
Lemma 4.5 
(Confinement). If x X , then
C ( x ) X I C .
Proof. 
Proof overview: We prove by contradiction that if x X , then C ( x ) cannot lie in R or P ; therefore, it must belong to X , I , or C .
Case 1: Suppose C ( x ) R .
Then C ( x ) = 3 j for some odd j.
  • If x is even, then C ( x ) = x 2 = 3 j implies x = 6 j , so x P , contradicting x X .
  • If x is odd, then C ( x ) = 3 x + 1 = 3 j implies x = j 1 3 , which is impossible.
Case 2: Suppose C ( x ) P .
Then C ( x ) = 6 k for some k Z + .
  • If x is even, then C ( x ) = x 2 = 6 k implies x = 12 k , so x P , contradicting x X .
  • If x is odd, then C ( x ) = 3 x + 1 = 6 k implies x = 2 k 1 3 , impossible.
Conclusion: Since C ( x ) R and C ( x ) P , it follows that
C ( x ) X I C .
   □

4.6. Invariance and Absorbing Nature of the Cycle Set

We now confirm that the known cycle set ( C ) has a critical property: once a Collatz sequence enters this set, it never leaves, establishing it as an absorbing set for the Collatz dynamic.
Lemma 4.6 
(Cycle set invariance). If x C , then
C ( x ) C ,
where C = { 1 , 2 , 4 } .
Proof. 
Proof overview: We verify the invariance of the cycle set by checking that applying the Collatz function to each element in C yields an element that remains in C .
Case 1: For x = 1 ,
C ( 1 ) = 3 · 1 + 1 = 4 , and 4 C .
Case 2: For x = 2 ,
C ( 2 ) = 2 2 = 1 , and 1 C .
Case 3: For x = 4 ,
C ( 4 ) = 4 2 = 2 , and 2 C .
Conclusion: In every case, C ( x ) C . Thus, the cycle set is invariant under the Collatz function.    □

5. Finite State Analysis of Collatz Dynamics

Leveraging the integer partition (Section 3) and set transition properties (Section 4), this section constructs a 17-state finite state machine (FSM) that completely models Collatz dynamics. First, we define the FSM’s components based on Modulo 9 analysis: the initial states S P , S R corresponding directly to the sets P , R ; the 12 transient states within Stage S 1 12 derived from residue analysis of sets I , X ; and the terminal cycle states S C 1 , S C 2 , S C 4 ( S C ) representing the elements of set C . Then the core of this section conducts a detailed analysis of the deterministic transitions between all these states under the Collatz function. Specifically, we establish the finite and irreversible transition from the initial states S P R into Stage S 1 12 . Furthermore, we prove that Stage S 1 12 forms a strongly connected component (SCC). Our analysis also identifies a unique gateway state ( S 11 ) to the absorbing cycle S C . Finally, we prove that no Collatz sequence can survive an infinite walk in Stage S 1 12 , setting the stage for our convergence proof in Section 6.

5.1. Definitions - Stages, States and Trajectories

Definition 5.1 
(Initial stage S P R ). Stage S P R corresponds to the union of sets P and R . This initial stage consists of all positive integers divisible by 3. We break this stage into two states:
  • S P : Corresponding to the set P (even multiples of 3).
  • S R : Corresponding to the set R (odd multiples of 3).
The sets P and R are disjoint by definition (or by Theorem 3.6), ensuring these states are distinct.
Definition 5.2 
(Transient stage S 1 12 ). Stage S 1 12 corresponds to the union of sets X and I . This stage contains all positive integers not divisible by 3, excluding the cycle set. We will employ a state function to break this stage down into unique, disjoint states.
Definition 5.3 
(Terminal stage S C - Cycle States). Stage S C comprises the three states that represent the elements of cycle set C . The cycle states are defined as follows:
  • S C 1 : Represents the number 1. Formally, S C 1 = ( 1 , C , O d d ) .
  • S C 2 : Represents the number 2. Formally, S C 2 = ( 2 , C , E v e n ) .
  • S C 4 : Represents the number 4. Formally, S C 4 = ( 4 , C , E v e n ) .
By Lemma 4.6, the transitions between these states follow the Collatz function ( S C 1 S C 4 S C 2 S C 1 ), and the cycle set is invariant, causing sequences entering this stage to cycle indefinitely.
Definition 5.4 
(State function for stage S 1 12 ). The state of a positive integer x X I is defined by the triplet
s ( x ) = x mod 9 , S ( x ) , p ( x ) ,
where
S ( x ) = I , if x I , X , if x X , and p ( x ) = Even , if x is even , Odd , if x is odd .
Remark 5.5 (Why Modulo 9 is Optimal for Stage S1-12).
The choice of modulus 9 in the state function (Definition 5.4) is specifically tailored to analyzing the behavior of numbers that are not divisible by 3—that is, numbers in the sets X I , which together form the entire transient stage  S 1 - 12 of our 17-state FSM. This choice is motivated by several key observations:
1.
Restriction to Residues Coprime to 3: Within Z 9 , the residues of integers not divisible by 3 are:
Z 9 { 0 , 3 , 6 } = { 1 , 2 , 4 , 5 , 7 , 8 } .
These six residue classes correspond precisely to the admissible residues for elements in X I , making modulo 9 a natural framework for organizing this stage of the dynamics.
2.
Structured Behavior Under 3 x + 1 : For odd integers x ¬ 0 ( mod 3 ) , the map x 3 x + 1 induces predictable transformations modulo 9. For example:
x 1 3 x + 1 4 ( mod 9 ) , x 2 3 x + 1 7 ( mod 9 ) , x 4 3 x + 1 4 ( mod 9 ) , x 5 3 x + 1 7 ( mod 9 ) , x 7 3 x + 1 4 ( mod 9 ) , x 8 3 x + 1 7 ( mod 9 ) .
These congruences govern how states evolve under the Collatz function and are central to defining deterministic transitions in the transient stage.
3.
Balanced Granularity: Modulo 9 is fine enough to distinguish the essential behavior classes for numbers not divisible by 3, yet coarse enough to avoid the greater complexity that might arise from moduli like 18 or 27 without necessarily resolving all state-transition branching.
4.
Exact Fit for State Classification: The state function using (residue mod 9, Set I / X , parity) results in exactly 12 valid and disjoint states ( S 1 through S 12 ) that perfectly partition the transient stage X I , as demonstrated in Lemma 5.7.
5.
Identification of a Key Funnel State ( S 1 ): The explicit distinction of Set I within the state definition uniquely identifies State S 1 as the sole entry point into the transient stage S 1 12 for all sequences originating from the infinite sets P and R . This follows from the deterministic S R S 1 transition (established in Lemma 5.10, which relies on Lemma 4.3). Identifying S 1 as this "funnel" state captures a crucial aspect of the sequence dynamics and may prove valuable for future investigations into sequence merging after exiting the multiples-of-3 stages.
Thus, the use of modulo 9, combined with the I / X set distinction and parity, provides a well-justified and structurally informative framework required to fully classify Collatz behavior in the transient stage, enabling the deterministic analysis within our 17-state finite state machine.
Definition 5.6 
(Trajectory in the Finite State Machine). Let S = { S 1 , S 2 , , S 17 } denote the set of states of the Collatz Finite State Machine (FSM), and let
δ : S S
be the deterministic transition function induced by the Collatz map.
A trajectory in the FSM is a finite or infinite ordered sequence of states
T = ( S i 0 , S i 1 , S i 2 , ) ,
such that each transition satisfies S i n + 1 = δ ( S i n ) for all n 0 . If the initial state S i 0 corresponds to a residue class containing x Z + , then T is said to represent the Collatz sequence beginning at x.

5.2. Partitioning of Stage S 1 12

Using the defined state function, we enumerate the resulting finite set of 12 disjoint states that partition the transient stage S 1 12 .
Lemma 5.7 
(12-State Partition of X I ). The state function in Definition 5.4 defines a partition of stage S 1 12 into 12 disjoint states: S 1 , S 2 , , S 12 . That is, for every x X I there exists a unique index i with 1 i 12 such that state ( x ) = S i , and for any distinct indices i j , the sets of numbers that map to S i and S j are disjoint.
Proof. 
We prove the lemma in two parts: (1) that for every x X I there exists a unique state S i with s ( x ) = S i (exhaustiveness), and (2) that these states are pairwise disjoint (mutual exclusivity).
(1) Uniqueness of the state assignment: By definition, the state function s ( x ) assigns to each x a triplet consisting of:
  • The residue x mod 9 . For x in X I , the allowed residues are { 1 , 2 , 4 , 5 , 7 , 8 } .
  • A secondary component S ( x ) , where
    S ( x ) = I , if x I , X , if x X ,
    which is well defined and disjoint.
  • The parity function p ( x ) , which is uniquely determined by whether x is even or odd.
Thus, each x X I is assigned a unique triplet, which by construction corresponds to exactly one of the following 12 states:
S 1 = { x Z + s ( x ) = ( 1 , I , Even ) } , S 2 = { x Z + s ( x ) = ( 1 , X , Odd ) } , S 3 = { x Z + s ( x ) = ( 2 , X , Even ) } , S 4 = { x Z + s ( x ) = ( 2 , X , Odd ) } , S 5 = { x Z + s ( x ) = ( 4 , X , Even ) } , S 6 = { x Z + s ( x ) = ( 4 , X , Odd ) } , S 7 = { x Z + s ( x ) = ( 5 , X , Even ) } , S 8 = { x Z + s ( x ) = ( 5 , X , Odd ) } , S 9 = { x Z + s ( x ) = ( 7 , X , Even ) } , S 10 = { x Z + s ( x ) = ( 7 , X , Odd ) } , S 11 = { x Z + s ( x ) = ( 8 , X , Even ) } , S 12 = { x Z + s ( x ) = ( 8 , X , Odd ) } .
(2) Mutual exclusivity: Suppose for contradiction that there exist two distinct indices i j such that an element x satisfies s ( x ) = S i and s ( x ) = S j . Since the components of s ( x ) (i.e., the residue x mod 9 , the set indicator S ( x ) , and the parity p ( x ) ) are uniquely determined by x, it is impossible for two different triplets to be equal. Hence, the states S i and S j must be disjoint.
Conclusion: Every x X I is assigned exactly one state S i , and the collection { S i } i = 1 12 forms a partition of stage S 1 12 .    □
Remark 5.8 (Structure of the Full FSM).
It is important to emphasize that the 12 states defined by the state function in Definition 5.4 constitute only the transient stage  S 1 - 12 of the full 17-state finite state machine. The FSM as a whole also includes:
  • The initial stage  S P - R = { S P , S R } , representing all integers divisible by 3.
  • The terminal cycle stage  S C = { S C 1 , S C 2 , S C 4 } , which captures the absorbing cycle 1 4 2 1 .
Thus, while the transient stage S 1 - 12 handles the majority of the Collatz process, it operates as one of three structurally distinct phases in a unified finite-state framework.

5.3. Completeness of State Partition

Having successfully defined all our states, we now prove that every positive integer corresponds to exactly one of the partitioned states.
Lemma 5.9 
(Completeness of State Assignment). Every positive integer n corresponds to exactly one state in the 17-state FSM defined by Definitions 5.1, 5.3, and 5.2 (or equivalent labels).
Proof. 
We need to show that for any positive integer n, there exists a unique state S in the set { S P , S R , S C 1 , S C 2 , S C 4 , S 1 , S 2 , S 3 , S 4 , S 5 , S 6 , S 7 , S 8 , S 9 , S 10 , S 11 , S 12 } such that n maps to S.
By Theorem 3.6, the sets P , R , C , I , X form a partition of the positive integers Z + . Therefore, any given n Z + belongs to exactly one of these five sets.
Furthermore, every integer n has a unique residue modulo 9 and a unique parity p ( n ) (Even or Odd).
We examine the state definitions based on the unique set membership of n:
  • If n P , then by definition, n corresponds uniquely to state S P .
  • If n R , then by definition, n corresponds uniquely to state S R .
  • If n C , then n must be 1, 2, or 4.
    If n = 1 , it corresponds uniquely to state S C 1 = ( 1 , C , O d d ) .
    If n = 2 , it corresponds uniquely to state S C 2 = ( 2 , C , E v e n ) .
    If n = 4 , it corresponds uniquely to state S C 4 = ( 4 , C , E v e n ) .
  • If n I , by definition of I , n = 9 j + 1 for some odd j. This implies n 1 ( mod 9 ) and n is always Even. The state function s ( n ) = ( n ( mod 9 ) , S ( n ) , p ( n ) ) yields ( 1 , I , E v e n ) , which corresponds uniquely to state S 1 .
  • If n X , then by definition, n P R C I . This means n ¬ 0 , 3 , 6 ( mod 9 ) , so the possible residues modulo 9 are { 1 , 2 , 4 , 5 , 7 , 8 } . We examine the combinations:
    If n 1 ( mod 9 ) : By definition, all numbers in I satisfy m 1 ( mod 9 ) and are Even. Since I contains all numbers 9 j + 1 where j is odd, and X contains numbers not in I , any n X with n 1 ( mod 9 ) cannot be Even (otherwise it would be in I ). Therefore, if n X and n 1 ( mod 9 ) , nmust be Odd. This corresponds uniquely to state S 2 = ( 1 , X , O d d ) . The combination ( 1 , X , E v e n ) does not exist for any n.
    If n ( mod 9 ) { 2 , 4 , 5 , 7 , 8 } : For each of these 5 residues, an integer n X can be either Even or Odd. This yields 5 × 2 = 10 possible combinations. These are uniquely covered by the state definitions:
    *
    Residue 2: S 3 = ( 2 , X , E v e n ) , S 4 = ( 2 , X , O d d )
    *
    Residue 4: S 5 = ( 4 , X , E v e n ) , S 6 = ( 4 , X , O d d )
    *
    Residue 5: S 7 = ( 5 , X , E v e n ) , S 8 = ( 5 , X , O d d )
    *
    Residue 7: S 9 = ( 7 , X , E v e n ) , S 10 = ( 7 , X , O d d )
    *
    Residue 8: S 11 = ( 8 , X , E v e n ) , S 12 = ( 8 , X , O d d )
    Thus, the state S 2 covers the only possible combination for n X with residue 1, and the states S 3 through S 12 cover the 10 possible combinations for n X with residues 2, 4, 5, 7, or 8. In total, the 11 states S 2 , S 3 , . . . , S 12 uniquely cover all possibilities for an integer n X .
Since every n Z + belongs to exactly one of the partitioning sets, and the state definitions uniquely determine a state based on this set membership combined with the unique residue mod 9 and parity (or the specific value for n C ), every positive integer n corresponds to exactly one state in the 17-state FSM.    □

5.4. Deterministic and Finite Transition from Stage S P R to Stage S 1 12

We now demonstrate the deterministic and finite transition from the initial stage, S P R (representing multiples of 3), to the transient stage, S 1 12 . This transition is irreversible; once a sequence enters S 1 12 , it cannot return to being a multiple of 3.
Lemma 5.10 
(Stage S P R to Stage S 1 12 Transition). The initial stage of the 17-state FSM, S P R , has the following transitions:
1.
S P always transitions to S R   in a finite number of steps.
2.
S R always transitions to S 1 in a single step.
Proof. 
We prove each transition separately:
1.
Transition from S P to S R (Finite): By definition, state S P corresponds to the set P . Lemma 4.2directly states that for any x P , there exists a finite integer n 0 such that C n ( x ) R . Since state S R corresponds to the set R , this directly implies that any element in state S P transitions to state S R in a finite number of steps.
2.
Transition from S R to S 1 (Single Step): By definition, state S R corresponds to the set R (Definition 5.1) and S 1 corresponds to I (Lemma 5.7). Lemma 4.3 states that for all x R , C ( x ) I .   This directly implies that S R transitions to S 1 in a single step.
Therefore, any starting number, whether in S P or S R , is guaranteed to enter the 12-state stage S 1 12 in a finite number of steps. Furthermore, by Lemma 4.5, once a sequence enters stage S 1 12 , it can never return to S P R , making this transition irreversible.    □

5.5. State Transition Analysis for Transient Stage S 1 12

We now meticulously analyze how the Collatz function causes transitions between the defined states in stage S 1 12 .
Lemma 5.11
(State Transition Analysis (12 States)). The transitions between the 12 states under the Collatz function C ( x ) are as follows:
  • From S 1 : ( 1 , I , Even ) to S 7 (residue 5, X , even) or S 8 (residue 5, X , odd).
  • From S 2 : ( 1 , X , Odd ) to S 5 (residue 4, X , even).
  • From S 3 : ( 2 , X , Even ) to S 1 (residue 1, I , even) or S 2 (residue 1, X , odd).
  • From S 4 : ( 2 , X , Odd ) to S 9 (residue 7, X , even).
  • From S 5 : ( 4 , X , Even ) to S 3 (residue 2, X , even) or S 4 (residue 2, X , odd).
  • From S 6 : ( 4 , X , Odd ) to S 5 (residue 4, X , even).
  • From S 7 : ( 5 , X , Even ) to S 9 (residue 7, X , even) or S 10 (residue 7, X , odd).
  • From S 8 : ( 5 , X , Odd ) to S 9 (residue 7, X , even).
  • From S 9 : ( 7 , X , Even ) to S 11 (residue 8, X , even) or S 12 (residue 8, X , odd).
  • From S 10 : ( 7 , X , Odd ) to S 5 (residue 4, X , even).
  • From S 11 : ( 8 , X , Even ) to S 5 (residue 4, X , even) or S 6 (residue 4, X , odd) or S C 4 (4, C , even).
  • From S 12 : ( 8 , X , Odd ) to S 9 (residue 7, X , even).
Proof. 
We analyze each transition case by case.
Case 1: S 1 S 7 or S 8 .
  • Setup: Let x S 1 , so x = 18 k + 10 for some integer k Z 0 .
  • Collatz Step:  C ( x ) = ( 18 k + 10 ) / 2 = 9 k + 5 .
  • Residue:  C ( x ) 5 ( mod 9 ) .
  • Set Membership:  C ( x ) C (since C ( x ) > 4 ), and C ( x ) I (contradiction modulo 9). Therefore, C ( x ) X .
  • Parity: If k is even, C ( x ) is odd ( S 8 ). If k is odd, C ( x ) is even ( S 7 ).
Case 2: S 2 S 5 .
  • Setup: Let x S 2 , so x = 18 m + 1 for some positive integer m.
  • Collatz Step:  C ( x ) = 3 ( 18 m + 1 ) + 1 = 54 m + 4 .
  • Residue:  C ( x ) 4 ( mod 9 ) .
  • Set Membership:  C ( x ) C (since m Z + , C ( x ) > 4 ) and C ( x ) I (contradiction modulo 9). Therefore, C ( x ) X .
  • Parity:  C ( x ) is even.
Case 3: S 3 S 1 or S 2 .
  • Setup: Let x S 3 , so x = 18 m + 2 for some positive integer m.
  • Collatz Step:  C ( x ) = ( 18 m + 2 ) / 2 = 9 m + 1 .
  • Residue:  C ( x ) 1 ( mod 9 ) .
  • Set Membership:  C ( x ) C (since m Z + , C ( x ) > 4 ). If m is odd, C ( x ) I ( S 1 ). Otherwise, if m is even, then C ( x ) X ( S 2 ).
  • Parity: see Set Membership.
Case 4: S 4 S 9 .
  • Setup: Let x S 4 , so x = 18 k + 11 for some integer k Z 0 .
  • Collatz Step:  C ( x ) = 3 ( 18 k + 11 ) + 1 = 54 k + 34 .
  • Residue:  C ( x ) 7 ( mod 9 ) .
  • Set Membership:  C ( x ) C (since C ( x ) > 4 ) and C ( x ) I (contradiction modulo 9). Thus, C ( x ) X .
  • Parity:  C ( x ) is even.
Case 5: S 5 S 3 or S 4 .
  • Setup: Let x S 5 , so x = 18 m + 4 for some positive integer m.
  • Collatz Step:  C ( x ) = ( 18 m + 4 ) / 2 = 9 m + 2 .
  • Residue:  C ( x ) 2 ( mod 9 ) .
  • Set Membership:  C ( x ) C (since m Z + , C ( x ) > 4 ) and C ( x ) I (contradiction modulo 9). Therefore C ( x ) X
  • Parity: If m is even, C ( x ) is even ( S 3 ). If m is odd, C ( x ) is odd ( S 4 ).
Case 6: S 6 S 5 .
  • Setup: Let x S 6 , so x = 18 k + 13 for some integer k Z 0 .
  • Collatz Step:  C ( x ) = 3 ( 18 k + 13 ) + 1 = 54 k + 40 .
  • Residue:  C ( x ) 4 ( mod 9 ) .
  • Set Membership:  C ( x ) C (since C ( x ) > 4 ) and C ( x ) I (contradiction modulo 9). Thus, C ( x ) X .
  • Parity:  C ( x ) is even.
Case 7: S 7 S 9 or S 10 .
  • Setup: Let x S 7 , so x = 18 k + 14 for some integer k Z 0 .
  • Collatz Step:  C ( x ) = ( 18 k + 14 ) / 2 = 9 k + 7 .
  • Residue:  C ( x ) 7 ( mod 9 ) .
  • Set Membership:  C ( x ) C (since C ( x ) > 4 ) and C ( x ) I (contradiction modulo 9). Thus, C ( x ) X .
  • Parity: If k is even, C ( x ) is odd ( S 10 ). If k is odd, C ( x ) is even ( S 9 ).
Case 8: S 8 S 9 .
  • Setup: Let x S 8 , so x = 18 k + 5 for some integer k Z 0 .
  • Collatz Step:  C ( x ) = 3 ( 18 k + 5 ) + 1 = 54 k + 16 .
  • Residue:  C ( x ) 7 ( mod 9 ) .
  • Set Membership:  C ( x ) C (since C ( x ) > 4 ) and C ( x ) I (contradiction modulo 9). Thus, C ( x ) X .
  • Parity:  C ( x ) is even.
Case 9: S 9 S 11 or S 12 .
  • Setup: Let x S 9 , so x = 18 k + 16 for some integer k Z 0 .
  • Collatz Step:  C ( x ) = ( 18 k + 16 ) / 2 = 9 k + 8 .
  • Residue:  C ( x ) 8 ( mod 9 ) .
  • Set Membership:  C ( x ) C (since C ( x ) > 4 ) and C ( x ) I (contradiction modulo 9). Thus, C ( x ) X .
  • Parity: If k is even, C ( x ) is even ( S 11 ). If k is odd, C ( x ) is odd ( S 12 ).
Case 10: S 10 S 5 .
  • Setup: Let x S 10 , so x = 18 k + 7 for some integer k Z 0 .
  • Collatz Step:  C ( x ) = 3 ( 18 k + 7 ) + 1 = 54 k + 22 .
  • Residue:  C ( x ) 4 ( mod 9 ) .
  • Set Membership:  C ( x ) C (since C ( x ) > 4 ) and C ( x ) I (contradiction modulo 9). Thus, C ( x ) X .
  • Parity:  C ( x ) is even.
Case 11: S 11 S 5 or S 6 or S C 4 .
  • Setup: Let x S 11 , so x = 18 k + 8 for some integer k Z 0 .
  • Collatz Step:  C ( x ) = ( 18 k + 8 ) / 2 = 9 k + 4 .
  • Residue:  C ( x ) 4 ( mod 9 ) .
  • Set Membership:  C ( x ) I (contradiction modulo 9).
  • Cycle Entry (Gateway): If k = 0 , then x = 8 and C ( x ) = 4 , representing a transition into the cycle stage S C from stage S 1 12 . Otherwise, for k > 0 , C ( x ) X . Therefore C ( x ) X C .
  • Parity: If k is even, C ( x ) is even ( S 5 ). If k is odd, C ( x ) is odd ( S 6 ).
Case 12: S 12 S 9 .
  • Setup: Let x S 12 , so x = 18 k + 17 for some integer k Z 0 .
  • Collatz Step:  C ( x ) = 3 ( 18 k + 17 ) + 1 = 54 k + 52 .
  • Residue:  C ( x ) 7 ( mod 9 ) .
  • Set Membership:  C ( x ) C (since C ( x ) > 4 ) and C ( x ) I (contradiction modulo 9). Thus, C ( x ) X .
  • Parity:  C ( x ) is even.
These transitions fully define the behavior of the FSM within stage S 1 12 , and demonstrate the crucial property that the next state is uniquely determined by the current state. This includes the specific condition where the system transitions into the terminal cycle stage ( S C ).    □

5.6. Transition Table for Transient Stage S 1 - 12

Table 1 summarizes the deterministic transitions between the twelve transient states defined in Lemma 5.11. Each state is characterized by its residue modulo 9, set membership, and parity. Multiple outgoing transitions correspond to parity-dependent cases or refinement depth conditions. This table complements the transition diagram, which illustrates the global funneling structure toward the gateway state S 11 and ultimately the cycle stage S C .

5.7. Determinism of FSM Evolution

Lemma 5.12 
(Determinism of FSM Evolution). Let S = { S P , S R , S 1 , , S 12 , S C 1 , S C 2 , S C 4 } be the set of 17 states, and let `getState` be the state assignment function. The evolution of any Collatz sequence under this state assignment is deterministic. That is, for any positive integer x, the state of its Collatz successor, g e t S t a t e ( C ( x ) ) , is uniquely determined by x. Consequently, the sequence of states ( g e t S t a t e ( x 0 ) , g e t S t a t e ( x 1 ) , g e t S t a t e ( x 2 ) , ) is uniquely determined for any starting number x 0 .
Proof. 
We need to show that for any x > 0 , the value g e t S t a t e ( C ( x ) ) is uniquely defined and belongs to S .
By Lemma 5.9, every positive integer maps to exactly one state in S . Since C ( x ) produces a unique positive integer for any x > 0 , C ( x ) must map to exactly one state S j S .
To be more explicit, we can examine the transitions based on the state S i = g e t S t a t e ( x ) :
1.
If S i { S P , S R } :
  • If x S P , C ( x ) = x / 2 . By Lemma 4.1, C ( x ) P R . Thus, g e t S t a t e ( C ( x ) ) is either S P or S R , both unique states in S .
  • If x S R , C ( x ) = 3 x + 1 . By Lemma 4.3, C ( x ) I . Since all elements of I map uniquely to state S 1 , g e t S t a t e ( C ( x ) ) = S 1 , a unique state in S .
2.
If S i { S 1 , , S 12 } : Lemma 5.11 provides a case-by-case analysis based on S i = g e t S t a t e ( x ) . For each case, it determines the properties of C ( x ) (its residue mod 9, its parity, and whether it falls into I , X , or C ).
  • For states like S R , S 2 , S 4 , S 6 , S 8 , S 10 , S 12 , the analysis shows that C ( x ) always maps to a single specific successor state ( S 1 , S 5 , S 9 , S 5 , S 9 , S 5 , S 9 respectively), regardless of the specific x within S i .
  • For states like S 1 , S 3 , S 5 , S 7 , S 9 , S 11 , the analysis shows that C ( x ) maps to one of two or three possible successor states ( S 7 / S 8 , S 1 / S 2 , S 3 / S 4 , S 9 / S 10 , S 11 / S 12 , S 5 / S 6 / S C 4 respectively). However, the specific successor state is uniquely determined by properties of x (like the parity of k or m in x = 18 k + c ). Since x is given, C ( x ) is unique, and therefore g e t S t a t e ( C ( x ) ) is also unique, landing in exactly one of those specified possible successor states.
In all sub-cases, g e t S t a t e ( C ( x ) ) results in a unique state within S .
3.
If S i { S C 1 , S C 2 , S C 4 } : The transitions C ( 1 ) = 4 , C ( 2 ) = 1 , C ( 4 ) = 2 ensure that g e t S t a t e ( C ( x ) ) is S C 4 , S C 1 , S C 2 respectively, which are unique states in S .
Since for any x > 0 , C ( x ) is unique and g e t S t a t e ( C ( x ) ) maps to a unique state in S , the evolution process defined by repeatedly applying C and then getState is deterministic for any starting number x 0 .    □

5.8. State S 11 as the Unique Gateway

We establish that S 11 is the only state in the transient stage that can lead into the cycle stage C = { 1 , 2 , 4 } .
Lemma 5.13 
(S11 as the Unique Gateway State). Within the 17-state FSM, state S 11 = ( 8 , X , Even ) is the unique gateway from Stage S 1 - 12 to Stage S C .
Proof. 
We proceed in three steps.
1.
List all preimages of the cycle elements.
  • C ( 2 ) = 1 (only preimage of 1 is 2);
  • C ( 4 ) = 2 (only preimage of 2 is 4);
  • C ( 1 ) = 4 and C ( 8 ) = 4 (preimages of 4 are 1 and 8).
2.
Identify the external preimage. The only number not already in C that maps into it is 8, with C ( 8 ) = 4 .
3.
Locate this in the FSM. By definition 8 S 11 , and Lemma 5.11 (Case 11) gives the transition S 11 S C 4 . No other transient state maps directly to 1, 2, or 4.
Therefore S 11 is the unique gateway to the cycle.    □

5.9. State Transition Diagram of the 17-State FSM

5.10. Strong Connectivity Within Stage S 1 12 and Reachability of the Gateway State S 11

We now prove a crucial property for convergence: The transient stage S 1 12 forms a strongly connected component (SCC) and every state within it has a finite path leading to the unique gateway state S 11 .
Lemma 5.14 
(Strong Connectivity and Recurrence within Stage S 1 12 ). Every state in the S 1 12 subsystem belongs to at least one recurrent cycle of state transitions that includes state S 11 .
Proof. 
We will demonstrate this by showing that every state has a path to S 11 (reachability), and that any path originating from S 11 will eventually return to a state that has a path to S 11 . This establishes the cyclical nature.
Part 1: Reachability of S 11
Let A k be the set of states from which state S 11 can be reached in k steps or less. We define A 0 = { S 11 } and A k + 1 = A k { S i S 1 12 S j A k such that S i S j is a possible transition } . We will show, by induction, that A 4 = S 1 12 , meaning all states in S 1 12 can reach S 11 in at most 4 steps.
If a state transitions to multiple states, it’s assigned to the A k corresponding to the shortest path to S 11 .
  • A 0 = { S 11 } (Base Case)
  • A 1 = A 0 { S 9 } = { S 9 , S 11 }
    S 9 S 11 or S 9 S 12 (Lemma 5.11, Case 9). Since S 9 can transition directly to S 11 , it follows that S 9 A 1 .
  • A 2 = A 1 { S 4 , S 7 , S 8 , S 12 } = { S 4 , S 7 , S 8 , S 9 , S 11 , S 12 }
    S 4 S 9 (Lemma 5.11, Case 4). Since S 9 A 1 , it follows that S 4 A 2 .
    S 7 S 9 or S 7 S 10 (Lemma 5.11, Case 7). Since S 9 A 1 , it follows that S 7 A 2 .
    S 8 S 9 (Lemma 5.11, Case 8). Since S 9 A 1 , it follows that S 8 A 2 .
    S 12 S 9 (Lemma 5.11, Case 12). Since S 9 A 1 , it follows that S 12 A 2 .
  • A 3 = A 2 { S 1 , S 5 } = { S 1 , S 4 , S 5 , S 7 , S 8 , S 9 , S 11 , S 12 }
    S 1 S 7 or S 1 S 8 (Lemma 5.11, Case 1). Since S 7 A 2 and S 8 A 2 , it follows that S 1 A 3 .
    S 5 S 3 or S 5 S 4 (Lemma 5.11, Case 5). Since S 4 A 2 , it follows that S 5 A 3 .
  • A 4 = A 3 { S 2 , S 3 , S 6 , S 10 } = { S 1 , S 2 , S 3 , S 4 , S 5 , S 6 , S 7 , S 8 , S 9 , S 10 , S 11 , S 12 } = S 1 12
    S 2 S 5 (Lemma 5.11, Case 2). Since S 5 A 3 , it follows that S 2 A 4 .
    S 3 S 1 or S 3 S 2 (Lemma 5.11, Case 3). Since S 1 A 3 , it follows that S 3 A 4 .
    S 6 S 5 (Lemma 5.11, Case 6). Since S 5 A 3 , it follows that S 6 A 4
    S 10 S 5 (Lemma 5.11, Case 6). Since S 5 A 3 , it follows that S 10 A 4 .
Since A 4 = S 1 12 , every state in the S 1 12 subsystem has a finite path to state S 11 .
Part 2: Cyclical Return from S11
From Lemma 5.11 (Case 11), S 11 transitions to S 5 or S 6 . From Part 1 above, S 5 and S 6 can reach S 11 in 3 and 4 steps respectively.
This shows all transitions from S11, no matter the path taken, will lead back to a state which can reach S11, hence forming a cycle of states.
Conclusion:
Since every state has a finite path to  S 11 , and any sequence starting from  S 11 ultimately returns to a state with a path to  S 11 , every state in S 1 12 is part of a cycle of states that includes S 11 .    □

5.11. Modular Refinement and the Invariant Power-of-Two Orbit

Once Collatz trajectories exit the domain of integers divisible by 3, their subsequent odd iterates are confined to a fixed modular structure. In particular, the residue of each odd iterate modulo 9 lies in the orbit generated by powers of 2, forming a closed set that is invariant under multiplication. This arithmetic constraint governs the structure of the finite state machine’s transient subsystem and underlies both the deterministic refinement process and the exclusion of internal cycles.
Lemma 5.15 
(Modular Invariance of the Power-of-Two Orbit). Let o > 0 be any odd integer, and let q = 3 o + 1 2 v 2 ( 3 o + 1 ) denote the next odd iterate in the Collatz sequence. Then:
1.
q is not divisible by 3.
2.
Consequently, q mod 9 { 1 , 2 , 4 , 5 , 7 , 8 } , which is precisely the set of residues taken by powers of 2 modulo 9:
2 r mod 9 r N 0 .
3.
This set is closed under multiplication by 2 modulo 9, and hence forms an invariant residue orbit:
O 2 = { 2 r mod 9 r N 0 } = { 1 , 2 , 4 , 5 , 7 , 8 } .
Proof.
1.
Since 3 o is divisible by 3, we have 3 o + 1 1 ( mod 3 ) . Now, since 3 o + 1 = 2 k q for some k = v 2 ( 3 o + 1 ) 1 and 2 k is coprime to 3, it follows that q 1 ( mod 3 ) and hence q is not divisible by 3.
2.
The residue classes modulo 9 that are divisible by 3 are { 0 , 3 , 6 } . Since q ¬ 0 ( mod 3 ) , it must lie in the complementary set { 1 , 2 , 4 , 5 , 7 , 8 } .
Computing the powers of 2 modulo 9 yields:
2 0 1 , 2 1 2 , 2 2 4 , 2 3 8 , 2 4 7 , 2 5 5 ( mod 9 ) ,
and since 2 6 1 , the cycle repeats every six terms. Therefore, the power-of-two orbit modulo 9 is:
O 2 = { 1 , 2 , 4 , 8 , 7 , 5 } = { 1 , 2 , 4 , 5 , 7 , 8 } .
3.
It remains to show that this set is closed under multiplication by 2 modulo 9. Verifying this:
2 · 1 2 , 2 · 2 4 , 2 · 4 8 , 2 · 8 7 , 2 · 7 5 , 2 · 5 1 ( mod 9 ) ,
we see that multiplication by 2 permutes the elements of O 2 . Hence, O 2 is an invariant multiplicative orbit under 2 · x mod 9 .
   □
Remark 5.16 (Refinement chains and symbolic convergence).
Each odd state S 2 i 1 in the FSM corresponds to an odd integer o whose image under x 3 x + 1 is an even number, initiating a refinement chain governed by successive halvings x x / 2 . Modulo 9, these halving steps correspond to multiplication by 5, since 2 1 5 ( mod 9 ) . The residues of 5 r mod 9 for r N 0 permute the same orbit O 2 = { 1 , 2 , 4 , 5 , 7 , 8 } .
Consequently, the even refinement chain remains trapped in this orbit and ultimately converges to 8 ( mod 9 ) , corresponding to the gateway state S 11 . This symbolic convergence guarantees that all odd inputs not divisible by 3 are funneled through this fixed modular structure, reinforcing the deterministic dynamics of the transient subsystem and preparing the ground for the cycle-exclusion argument to follow.

5.12. Cycle Exclusion via Modular Arithmetic

Having established that every odd transition of the Collatz map refines into the power-of-two residue orbit (Lemma 5.15), we now demonstrate that the resulting finite modular system admits no internal cycles. In other words, once trajectories enter the transient domain S 1 - 12 , they cannot sustain any non-trivial periodic orbit. This establishes the modular foundation for deterministic funneling toward the gateway state S 11 .
Lemma 5.17 
(No internal cycles in the transient domain). There exists no closed sequence of Collatz transitions confined entirely to the transient component S 1 - 12 . Equivalently, the Collatz dynamics admit no non-trivial periodic orbit consisting solely of integers not divisible by 3.
Proof. 
We proceed by contradiction using modular arithmetic.
Step 1: Arithmetic condition for a cycle and the structural invariant.
Assume, for contradiction, that a non-trivial periodic orbit of length m > 0 exists, composed entirely of odd integers not divisible by 3, corresponding to a closed canonical trajectory (cycle) in the transient subsystem S 1 - 12 :
{ o 0 , o 1 , , o m 1 } , o i ¬ 0 ( mod 3 ) .
Each transition obeys the accelerated Collatz rule:
o i + 1 = 3 o i + 1 2 k i , k i = v 2 ( 3 o i + 1 ) ,
with indices taken modulo m so that o m = o 0 , ensuring closure.
Composing all m transitions yields the affine relation
o 0 = 3 m o 0 + Λ 2 K , K = i = 0 m 1 k i ,
where Λ accumulates the additive contributions from each + 1 term along the path. Multiplying through by 2 K gives
( 2 K 3 m ) o 0 = Λ .
Here, Λ may be expressed more explicitly as
Λ i = 0 m 1 2 K i ( mod 72 ) ,
where each term represents the modular residue contributed by a single + 1 increment along the path, and K i denotes the cumulative halving depth up to step i. Thus, Λ is a fixed element of Z 72 determined by the transition sequence.
Equation (*) is affine, not multiplicative. One might ask whether a particular value of o 0 could satisfy this equation for some finite Λ , even if 2 K 3 m . However, the finite-state machine (FSM) models the modular dynamics of the map—not individual numerical values but entire residue classes.
Therefore, the question is not whether equation (*) can hold for a specific o 0 , but whether it can hold structurally on the class of integers represented by a given FSM state. That is, we ask whether the composite state transition function δ closes after m steps:
δ m ( S 0 ) = S 0 o m o 0 ( mod M ) ,
where M is the modulus defining the FSM’s state space.
1.
The FSM employs M = 72 = lcm ( 8 , 9 ) , the minimal modulus that captures both:
  • the 2-adic refinement depth via residues mod 8, and
  • the multiplicative residue behaviour of odd, non-divisible-by-3 iterates via mod 9.
2.
The state function s ( x ) (Definition 5.4) depends only on x mod 9 and parity ( x mod 2 ); since 8 72 , the congruence x mod 72 uniquely determines the FSM state.
Consequently, for (*) to hold uniformly over a residue class modulo 72, the left-hand coefficient must vanish modulo  M = 72 :
( 2 K 3 m ) o 0 Λ ( mod 72 ) 2 K 3 m ( mod 72 ) .
Because o 0 is coprime to 3 (and therefore invertible modulo 72), congruence (†) is the structural closure condition: it is both necessary and sufficient for a periodic orbit to exist within S 1 - 12 under modular composition.
In the remainder of the proof, we will show that no such ( m , K ) pair exists— thereby ruling out any internal cycle and confirming that the transient subsystem of the FSM is acyclic under modular confinement.
Why modulus 72? To rule out internal cycles in the transient subsystem, we must capture all relevant arithmetic structure used by the Collatz map during its odd transitions. These transitions take the form
o 3 o + 1 2 v 2 ( 3 o + 1 ) ,
where the numerator introduces multiplication by 3 and addition by 1, and the denominator encodes a sequence of halving steps. Two modular systems jointly determine this behaviour:
  • The halving structure depends on powers of 2, governed by the valuation v 2 ( 3 o + 1 ) —the number of times 3 o + 1 can be divided by 2 before the next odd value appears. Since o is odd, 3 o + 1 is always even. The residue of 3 o + 1 mod 8 therefore determines how many successive halving steps occur before the next odd iterate o i + 1 is reached, defining the traversal through the even states of the FSM.
    The minimal set of nonzero even residues modulo 8 suffices to encode the complete 2-adic refinement process, as shown in Table 2.
    Table 2. Possible residues of 3 o + 1 mod 8 for odd o, and corresponding halving depths.
    Table 2. Possible residues of 3 o + 1 mod 8 for odd o, and corresponding halving depths.
    Residue of 3 o + 1 mod 8 Valuation v 2 ( 3 o + 1 ) FSM Transition Type
    2, 6 v 2 = 1 Odd → Even (single halving step)
    4 v 2 = 2 Odd → Even → Even (two halving steps)
    0 v 2 3 Odd → Even chain (deep halving)
    Since these three cases cover all possible residues mod 8 of the 2-adic valuations of 3 o + 1 for odd o (any further halving will just cycle the residues again), the modulus 8 achieves the minimal and sufficient resolution for describing the 2-adic refinement process. Larger powers such as 16 or 32 would not reveal any new transition types within the FSM framework.
  • The odd-residue behaviour after refinement is governed by modulo 9, which controls the closed multiplicative orbit { 1 , 2 , 4 , 5 , 7 , 8 } of powers of 2 (Lemma 5.15). This structure confines all odd iterates not divisible by 3 to the same invariant set, ensuring that every odd transition lands within the power-of-two orbit.
To capture both the halving structure and the odd-residue structure simultaneously, we take the least common multiple of the two moduli:
lcm ( 8 , 9 ) = 72 .
This modulus is the smallest system that records, without redundancy, both the 2-adic refinement depth (for even transitions) and the multiplicative residue dynamics (for odd transitions). Hence, any non-trivial Collatz cycle would necessarily appear as a closed orbit modulo 72, and the contradiction argument may be confined entirely to this finite modular space.
Step 2: Evaluate the powers of 3 and 2 modulo 72. From direct computation:
3 1 3 , 3 2 9 , 3 3 27 , 3 4 9 ( mod 72 ) , 2 1 2 , 2 2 4 , 2 3 8 , 2 4 16 , 2 5 32 , 2 6 64 , 2 7 56 , 2 8 40 ( mod 72 ) .
Thus, the respective value sets are:
P 3 = { 3 , 9 , 27 } , P 2 = { 2 , 4 , 8 , 16 , 32 , 40 , 56 , 64 } .
These sets are disjoint:
P 3 P 2 = .
Equivalently,
ord 72 ( 3 ) = 3 , ord 72 ( 2 ) = 9 ,
so their multiplicative orbits occupy disjoint residue subsets of Z 72 × . Hence the congruence 3 m 2 K ( mod 72 ) is structurally impossible.
Step 3: Contradiction. The congruence 3 m 2 K ( mod 72 ) has no integer solutions with m , K > 0 . Therefore, no non-trivial periodic orbit exists within S 1 - 12 , confirming that the transient subsystem of the FSM is acyclic under modular confinement and all trajectories must ultimately exit through the unique gateway state S 11 .    □
Remark 5.18 (Structural interpretation).
Lemma 5.17 completes the modular description of the transient domain. Combined with Lemma 5.15, it shows that the power-of-two residue orbit forms an arithmetic attractor for all transitions, and that no closed trajectory can exist within it. Thus, all flow in S 1 - 12 is necessarily directed toward the unique gateway state S 11 , preparing the ground for the final theorem on deterministic funneling into the terminal cycle C = { 1 , 2 , 4 } .

6. Global Convergence: The Collatz Conjecture

We now synthesize the structural, modular, and dynamical results from the previous sections into a final, constructive proof of the Collatz Conjecture. The finite-state model established in Section 5 exposes deterministic constraints that force all Collatz trajectories into the unique terminal cycle. The two arithmetic invariants — the refinement onto the power-of-two residue orbit and the impossibility of internal modular cycles — together define a sealed funnel through which all sequences must flow.
Theorem 6.1 
(The Collatz Conjecture). Every Collatz sequence starting from any positive integer x 0 Z + eventually reaches the integer 1 and enters the terminal cycle C = { 1 , 2 , 4 } .
Proof. 
We prove that any trajectory under the Collatz map is deterministically funneled into the terminal cycle C by establishing four cumulative properties of the finite state machine:
1.
Confinement to the Transient Stage. Lemma 5.10 shows that any trajectory beginning in the initial stage S P - R (i.e., a multiple of 3) must transition into the transient domain S 1 - 12 in finitely many steps. Lemma 4.5 guarantees that this transition is irreversible. Thus, every trajectory not already in the terminal cycle eventually and permanently enters the transient stage.
2.
Confinement to the Invariant Power-of-Two Orbit and Terminal Descent. Once a trajectory enters the transient domain S 1 - 12 , all iterates—both odd and even—are confined to a single modular orbit:
O 2 = { 2 r mod 9 } = { 1 , 2 , 4 , 5 , 7 , 8 } .
Odd Iterates: As proven in Lemma 5.15, each odd transition o q is structurally constrained so that q is never divisible by 3, and must lie in O 2 ( mod 9 ) . This means that every odd iterate is forced into the same closed residue class cycle, effectively “resetting" the modular position at each odd step.
Even Iterates: Even numbers also remain within this orbit. Since 2 1 5 ( mod 9 ) , repeated halving acts as modular multiplication by 5. That is:
x x 2 5 x ( mod 9 ) .
Thus, even transitions deterministically permute the elements of O 2 in a fixed cycle. This ensures that the full trajectory—both odd and even steps—is permanently confined to O 2 once the transient stage is entered.
Detecting True Powers of 2: However, membership in O 2 is only a modular condition. Being congruent to a power of 2 mod 9 does not imply that the number itself is a power of 2. The critical structural fact is this:
Only an iterate that is an actual power of 2 — not just congruent to one — guarantees convergence to 1.
Once such a value is reached, the Collatz map enters a strictly decreasing sequence:
2 k 2 k 1 4 2 1 ,
and the system falls irreversibly into the terminal cycle C = { 1 , 2 , 4 } . Thus, the even iterates play a critical diagnostic role: they are the only phase of the system where true powers of 2 can be identified and trigger convergence.
Conclusion: The modular orbit O 2 defines the closed structure of the transient state space, while the appearance of an actual power of 2 within this space provides the sufficient condition for termination. Together, they complete the funnel: one bounds the dynamics, the other unlocks the exit.
3.
Exclusion of Internal Cycles (Modular Acyclicity). By Lemma 5.17, any non-trivial modular cycle in the transient domain would require a solution to the congruence:
3 m 2 K ( mod 72 ) ,
for some m , K > 0 . No such solution exists. Since the transient domain S 1 - 12 is finite, and no closed loops are permitted by the arithmetic structure, it must be a directed acyclic graph (DAG). Infinite or repeating trajectories within this subsystem are impossible.
4.
Inevitable Exit into the Terminal Cycle. As shown in Lemma 5.13, the only transition out of the transient domain is from state S 11 to S C 4 , which belongs to the terminal cycle C . Because the transient FSM is finite and acyclic, every trajectory must reach S 11 in a finite number of steps and then transition into the cycle.
Consequently, all trajectories are funneled—deterministically and unavoidably—into the terminal cycle C = { 1 , 2 , 4 } . No other outcome is possible.    □
Remark 6.2 (The Funnel Mechanism).
The Collatz dynamics, when viewed through the finite-state lens, form a sealed arithmetic funnel. The power-of-two orbit (Lemma 5.15) restricts all odd iterates to a closed residue structure, while the acyclicity constraint (Lemma 5.17) ensures that the transient subsystem admits no internal loops. With only one possible escape route—from S 11 into C —the Collatz sequence is structurally forced to converge. This modular determinism completes the proof.

7. 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 5.11).
  • 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.

8. Empirical Evidence from Large-Scale Collatz Computations

Over the decades, extensive computational searches have provided a substantial body of evidence regarding the behavior of Collatz sequences. Numerous studies have explored Collatz sequences for extremely large starting values - with some computations reaching up to 2 68 (Oliveira e Silva [7]) - and ongoing distributed computing projects, such as the BOINC Collatz Conjecture project (BOINC [1]), continue to expand this empirical base. These large-scale computations have consistently demonstrated that:
  • Boundedness: No starting number tested has produced a Collatz sequence that grows without bound; all sequences examined remain within finite limits.
  • Convergence to the 4-2-1 Cycle: Every Collatz sequence observed eventually enters the 4 2 1 cycle (or the equivalent permutation 1 4 2 1 ), regardless of the starting value.
  • No Other Cycles Found: Despite exhaustive searches, no cycles other than the trivial 4 2 1 cycle (or its cyclic permutations) have ever been discovered.
This extensive empirical evidence is entirely consistent with and strongly supports the theoretical results established in this paper - specifically, the theorems that prove boundedness, the non-existence of non-trivial cycles, and the eventual convergence to the trivial 4 2 1 cycle.

9. Comparison with Previous Approaches

The Collatz Conjecture has been extensively studied using diverse mathematical techniques [4,5,6]. Our approach - combining a structured state-space framework with deterministic transition analysis - provides a fundamentally distinct resolution. In this section, we contextualize our proof within the broader landscape of Collatz research.

9.1. Limitations of Prior Methods

Most previous approaches, while yielding valuable insights, have fundamental limitations that prevented a complete resolution:
  • Probabilistic and Statistical Models [4,6] suggest that, on average, Collatz sequences tend to decrease. However, they cannot establish boundedness for all initial values, leaving open the possibility of exceptional unbounded orbits.
  • Computational Verification [1,7] confirms the conjecture for extremely large numbers but cannot provide a proof for all integers.
  • Dynamical Systems and Ergodic Theory [5,6] yield statistical insights into typical trajectories but struggle with the discontinuous nature of the Collatz map.
  • Modulo Arithmetic and Congruence Class Methods demonstrate boundedness within specific residue classes but fail to extend these properties globally.
  • Contradiction-Based Arguments often rely on unproven assumptions or fail to rigorously eliminate all counterexamples.
  • Tao’s “Almost All" Result [8] proves that most orbits are bounded but does not establish boundedness for every number.

9.2. Novelty and Strengths of the Presented Proof

Our proof resolves the Collatz Conjecture through a finite-state, modular-arithmetic framework that provides a complete, deterministic classification of all trajectories, guaranteeing convergence to the unique cycle C = { 1 , 2 , 4 } .
Key innovations and strengths of this framework include:
  • Complete State-Space Partition and FSM: We classify Z + into five mutually exclusive sets ( C , R , P , I , X ), recasting the Collatz problem into a finite deterministic state evolution governed by a 17-state Finite State Machine (FSM).
  • Three-Stage Structural Confinement: The FSM imposes an inevitable progression on every trajectory, decomposing all possible Collatz behavior into three provably finite stages: Exit from the Infinite Past ( S P R ), structured evolution within the Transient Stage ( S 1 12 ), and final absorption into the Terminal Cycle ( S C ).
  • Finite Modular Refinement: By analyzing the Collatz function modulo M = 2 3 · 9 = 72 , we show that the arithmetic structure stabilizes after finite depth K 0 = 3 . Beyond this refinement, no new transition types appear, yielding a complete and deterministic modular model of the entire dynamics.
  • Cycle Exclusion by Modular Arithmetic: Within this finite modular system, we rigorously prove that no pair of exponents ( m , K ) satisfies 3 m 2 K ( mod 72 ) , thereby excluding all non-trivial cycles. This replaces earlier heuristic ranking arguments with a fully arithmetic, verifiable proof of acyclicity.
  • Deterministic Funneling and Unique Gateway: The transient stage S 1 12 is a finite, acyclic, strongly connected component whose unique exit vertex is the gateway state S 11 (corresponding to the integer 8). Every trajectory within the Collatz system therefore follows a deterministic finite path through S 11 into the terminal cycle C = { 1 , 2 , 4 } .

10. Conclusion

We have presented a complete, structurally grounded proof of the Collatz Conjecture, leveraging a finite-state, modular-arithmetic framework that interprets Collatz sequences as deterministic trajectories within a structured state space. By partitioning the positive integers into five mutually exclusive sets, we developed a systematic classification that fully captures the behavior of Collatz iterations.
The proof is established through the analysis of a 17-state Finite State Machine (FSM) that models the entire dynamic. This FSM reveals an inevitable three-stage progression for every trajectory:
1.
Exit from the Infinite Past ( S P R ): All starting integers are funneled in finite steps from the unconstrained initial stage (multiples of 3) into the transient domain S 1 12 .
2.
Deterministic Evolution within Finite Structure ( S 1 12 ): We proved that the Collatz dynamics stabilize modulo 72, forming a finite, deterministic system. The modular congruence 3 m 2 K ( mod 72 ) admits no solutions, proving that no non-trivial cycles or divergent orbits can exist within this domain.
3.
Entry into the Absorbing Cycle ( S C ): The finite acyclic structure ensures that every trajectory reaches the unique gateway state S 11 (the integer 8), from which it deterministically transitions into the terminal cycle C = { 1 , 2 , 4 } .
This framework replaces heuristic or probabilistic reasoning with a finite, arithmetic, and structural proof of convergence. It demonstrates that all Collatz trajectories are not merely bounded but are structurally confined and systematically directed toward the terminal cycle.
Beyond resolving the Collatz Conjecture, this result exemplifies the power of a state-space and modular-arithmetic synthesis: complex iterative systems over the integers can be analyzed through finite deterministic structures, bridging discrete dynamical systems and number theory within a single unified framework.

11. Need for Verification and Future Directions

11.1. Need for Rigorous Verification

While the proof presented in this paper offers a distinct and potentially compelling approach to the Collatz Conjecture - particularly through the use of the product equation and prime factorization for cycle analysis - rigorous validation by the broader mathematical community is essential. The history of the Collatz Conjecture is replete with proposed proofs that were later found to contain flaws. Therefore, thorough and independent scrutiny of every step of this proof, especially the derivation and application of the product equation for cycle analysis, the partitioning of the state space, the construction and transition analysis of the 17-state FSM, and the proof of convergence via gateway state reachability, is paramount. This validation should involve expert peer review through journal submissions, detailed examination by specialists in number theory, presentations at conferences, and open dissemination for public scrutiny. Until such rigorous validation is complete, the result remains a proposed proof that, we believe, provides a sound and novel pathway toward resolving this longstanding problem.

11.2. Potential Avenues for Future Research

If validated, the proof presented here would not only resolve the Collatz Conjecture but also open new avenues for research in number theory and related fields. Potential directions for future work include:
  • Generalization of the Product Equation Technique: Investigate whether the product equation method introduced in this paper can be generalized or adapted to study cycle structures and dynamics in other iterative functions or number-theoretic problems.
  • Refinement and Simplification of the Proof: Explore alternative formulations of the arguments, particularly prime factorization and finite state analysis, to achieve greater clarity or elegance and potentially shorter proofs.
  • Alternative FSM Constructions: Explore the construction and analysis of finite state machines for the Collatz dynamics based on different moduli (e.g., modulo 12, modulo 36) or alternative state definition criteria. Compare the resulting state counts, the nature of state transitions (determinism vs. branching), the revealed structural features, and the complexity of proving convergence within these alternative FSM frameworks relative to the modulo 9 FSM presented here.
  • Computational Exploration Inspired by the Proof: With convergence established, further computational studies of stopping time distributions, average trajectory behavior, and other statistical properties of Collatz sequences could yield valuable insights.
  • Applications to Related Conjectures: Determine whether the insights and techniques from this work can be applied to other unsolved problems or related conjectures in the realm of iterative number theory and dynamical systems.
  • FSM Methodology for Other Dynamical Systems: Investigate whether the techniques used to construct and analyze the 17-state FSM (based on set partitioning, residue classes, and transition mapping) can be adapted to model and prove properties of other number-theoretic sequences or discrete dynamical systems.
  • Educational and Expository Development: Develop pedagogical materials and simplified expositions of this proof to make it accessible to a broader mathematical audience, including students and researchers. Such efforts might include clearer visualizations, intuitive explanations of key steps, and adaptations of the proof for classroom use.

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. BOINC, Collatz conjecture project, (archived version, accessed March 8, 2025). Retrieved from https://web.archive.org/web/20090915183543/http://boinc.thesonntags.com/collatz/.
  2. Collatz, L., Aufgaben E., Mathematische Semesterberichte 1 (1950), 35.
  3. Conway, J. H., Unpredictable iterations, in Proceedings of the 1972 Number Theory Conference (Boulder, CO: University of Colorado, 1972), 49–52.
  4. Lagarias, J. C., The 3x+1 problem and its generalizations, American Mathematical Monthly 92 (1985), 3–23.
  5. Lagarias, J. C., The 3x+1 problem: Annotated bibliography (1963–1999), in de Gruyter Series in Nonlinear Analysis and Applications 6 (Berlin: Walter de Gruyter, 2004), 189–299.
  6. Lagarias, J. C., The Collatz conjecture, Chaos 20(4) (2010), 041102.
  7. Oliveira e Silva, T., Empirical verification of the 3x + 1 and related conjectures, in The ultimate challenge: The 3x + 1 problem, edited by J. C. Lagarias, American Mathematical Society, Providence, Rhode Island, USA, 2010, pp. 189–207.
  8. Tao, T., Almost all orbits of the Collatz conjecture are bounded, Journal of the American Mathematical Society 32(1) (2019), 1–89.
  9. Thwaites, B., My conjecture, Bulletin of the Institute of Mathematics and Its Applications 15(2) (1979), 41.
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 180847 g001
Table 1. Transition table for transient stage S 1 - 12 under the Collatz function C ( x ) . Each row lists the possible successor states reachable by a single Collatz iteration. The table demonstrates determinism at the state level and the existence of a single gateway ( S 11 ) leading into the terminal cycle stage S C .
Table 1. Transition table for transient stage S 1 - 12 under the Collatz function C ( x ) . Each row lists the possible successor states reachable by a single Collatz iteration. The table demonstrates determinism at the state level and the existence of a single gateway ( S 11 ) leading into the terminal cycle stage S C .
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

© 2025 MDPI (Basel, Switzerland) unless otherwise stated