A professional-grade Python tool that explores the
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
-
Interactive Visualization: Generates dynamic line graphs using
Matplotlibto show the "hailstone" peaks and valleys. -
Data Export: Utilizes Pandas to serialize sequence data into a
.csvfile 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.
-
Programming Language: Python
-
Libraries Used:
Tkinter,PandasandMatplolib -
Concepts: Data Engineering pipelines, State Management and Mathematical Modeling.
Visualization of the Collatz sequence for 7,384,723 which peaks at over 33 million.
Follow these steps to run the project locally:
git clone https://github.com/saifkayyali3/CollatzStandard.git
cd CollatzStandardpython -m venv venv
source venv/bin/activate # Linux/macOS
venv\Scripts\activate # Windowspip install -r requirements.txtpython Collatz_Conjecture.py
This project is licensed under the MIT License – see the LICENSE file for details.
Saif Kayyali