Skip to content

The Collatz Conjecture, also known as the "3n + 1" sequence, proposes that starting with any positive number and applying two rules (if even, divide by two; if odd, triple it and add one) will always eventually lead to the number one.

License

Notifications You must be signed in to change notification settings

takmesh/Collatz-Conjecture

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

# Collatz Conjecture

The Collatz Conjecture, also known as the "3n + 1" sequence, proposes that starting with any positive number and applying two rules (if even, divide by two; if odd, triple it and add one) will always eventually lead to the number one.

## Project Structure

- **CollatzConjecture.py**: The main script for testing the Collatz Conjecture.

## Getting Started

To explore the Collatz Conjecture, clone the repository and run the `CollatzConjecture.py` script using Python.

```bash
git clone https://github.com/Noulion/Collatz-Conjecture.git
cd Collatz-Conjecture
python CollatzConjecture.py

Contributing

This project is open for contributions. Feel free to fork the repository, make your changes, and submit a pull request.

License

This project is licensed under the MIT License.

Contact

For any questions or suggestions, please open an issue in the repository.


If you have specific comments or additional text from the code you'd like included, please provide those details.

About

The Collatz Conjecture, also known as the "3n + 1" sequence, proposes that starting with any positive number and applying two rules (if even, divide by two; if odd, triple it and add one) will always eventually lead to the number one.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages