https://github.com/nullsoftware/collatzconjecture
This app can calculate given number(s) using Collatz conjecture.
https://github.com/nullsoftware/collatzconjecture
Last synced: 14 days ago
JSON representation
This app can calculate given number(s) using Collatz conjecture.
- Host: GitHub
- URL: https://github.com/nullsoftware/collatzconjecture
- Owner: nullsoftware
- Created: 2021-08-20T12:34:17.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2021-09-01T11:20:37.000Z (over 4 years ago)
- Last Synced: 2024-12-30T00:48:09.466Z (about 1 year ago)
- Language: C#
- Homepage:
- Size: 19.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Collatz Conjecture
The **Collatz conjecture** is a conjecture in mathematics that concerns sequences defined as follows: start 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 is one 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.
It is also known as the **3*n* + 1 problem**, the **3*n* + 1 conjecture**.
Read more at [Wikipedia](https://en.wikipedia.org/wiki/Collatz_conjecture)!