An open API service indexing awesome lists of open source software.

https://github.com/zalatch/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.
https://github.com/zalatch/collatz-conjecture

beginner-project math python

Last synced: 12 months ago
JSON representation

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.

Awesome Lists containing this project

README

          

```markdown
# 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.