The Collatz conjecture is a conjecture in mathematics that concerns a sequence 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. This program is developed in c#.
-
Notifications
You must be signed in to change notification settings - Fork 0
JosephHerreraDev/CollatzConjecture
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Conjecture in mathematics that given any positive number always ends in 1.
Resources
Stars
Watchers
Forks
Packages 0
No packages published