A high-caliber Python tool that explores the
Inspired by: The Simplest Math Problem No One Can Solve - Collatz Conjecture by Veritasium on YouTube
To test unspeakably high numbers accurately or see the Research behind this project: Click Here
-
Algorithmic Calculation: Fast processing of the Collatz sequence for any integer, positive or negative
-
Interactive Visualization: Generates dynamic line graphs using Matplotlib to show the hailstone peaks and valleys.
-
Data Export: Utilizes Pandas to turn sequence data into a CSV file for external analysis in Excel or SQL.
-
Adaptive Logarithmic Scaling: Automatically switches to
$Log_{10}$ visualization for unspeakably high numbers to prevent hardware overflow and maintain graph readability. -
Loop Detection using Floyd's Algorithm
-
Maximum of
$10^{64}$ for memory safety
-
Programming Language: Python
-
Libraries Used:
Tkinter,PandasandMatplolib -
Concepts: Data Engineering pipelines, State Management and Mathematical Modeling.
Follow these steps to run the project locally:
git clone https://github.com/Skayyali3/CollatzStandard.git
cd CollatzStandardpython -m venv venv
source venv/bin/activate # Linux/macOS
venv\Scripts\activate # Windowspip install -r requirements.txtpython main.pyThis project is licensed under the MIT License – see the license file for details.
Saif Kayyali