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.
- Host: GitHub
- URL: https://github.com/zalatch/collatz-conjecture
- Owner: zaLatch
- License: mit
- Created: 2024-07-05T01:50:40.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-05T02:39:52.000Z (almost 2 years ago)
- Last Synced: 2025-04-11T16:43:45.605Z (about 1 year ago)
- Topics: beginner-project, math, python
- Language: Python
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.