https://github.com/adithej/collatz_sequence
collatz first git push
https://github.com/adithej/collatz_sequence
Last synced: 10 months ago
JSON representation
collatz first git push
- Host: GitHub
- URL: https://github.com/adithej/collatz_sequence
- Owner: adithej
- Created: 2020-12-15T05:06:52.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2021-09-06T05:55:07.000Z (over 4 years ago)
- Last Synced: 2025-03-29T02:38:15.656Z (11 months ago)
- Language: Python
- Size: 2.93 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Collatz_sequence
collatz first git push
The Collatz conjecture is a conjecture in mathematics that concerns a sequence defined as follows:
starts with any positive integer `n` .Then each term is obtained from the previous term as follows:
If the previous term is even, the next term will be half of the previous term.
If the previous term is odd, the next term is 3 times the previous term plus 1.
The conjecture is that no matter what value of `n` the sequence will always reach 1.