colatz-conjecture
About The Project
Script provides Collatz conjecture / 3n + 1 / Hillstone numbers graph for a given starting number.
Built With
Python 3.9.10
Getting started
Requirements
All required packages in requirements.txt file. To install all required packages, type:
pip install -r requirements.txt
in the terminal.
Working with colatz-conjecture:
- Run the script.
- Enter a whole number not equal to 0.
- Script should generate graph of numbers and print number of steps and maximum number in the terminal.
Usage
Allows you to visualize the path of numbers for 3n + 1 problem.
Licence
Distributed under the MIT License. See LICENSE file for more information.