Collatz Dynamics: Structural Description of the Collatz Inverse Tree via Mersenne-Fermat Factorization and Jacobsthal Sequences
Hiroshi Harada - June 24, 2026
This project is a research dataset that describes and demonstrates the generation structure of the Inverse Tree in the Collatz conjecture as a completely deterministic algebraic process from the perspective of Mersenne-Fermat (M-F) factorization and Jacobsthal (J) sequences.
It shows, both theoretically and via code, the splitting of the "M-type factor" and "F-type factor" generated by transforming an odd nucleus
-
Research Reports:
-
Report_JP.pdf/Report_EN.pdf(Structural Description of the Collatz Inverse Tree via Mersenne-Fermat Factorization and Jacobsthal Sequences)
-
-
Demonstration Code:
-
collatz_fermat_branches.py: A numerical verification script that computes the M-F split and the selection gate ($3J/cJ$ ) from an arbitrary odd nucleus, outputting the results as a CSV file. -
collatz_fermat_cascade.py: A script that uses Graphviz to generate a "cascade decay diagram" illustrating the extraction of the pure trajectory ($J$ ) and the separation of unnecessary factors ($cJ$ ) in the reverse Collatz orbit for the initial value$7$ .
-
Runs in a Python 3.x environment.
python collatz_fermat_branches.py
Note: After execution, a CSV file with the calculation results (e.g., collatz_branches_a=5.csv) will be generated in the current directory. You can test with any odd nucleus by modifying the variable a in the code.
Requires the external library graphviz.
pip install graphviz
python collatz_fermat_cascade.py
Note: After execution, MF_Cascade_Decay.png will be generated in the same directory.
- Research Document: CC BY 4.0
- Python Source Code: MIT License
Copyright (c) 2026 Hiroshi Harada