Jonathan Landrum 6452348d80 Update README.md | 10 years ago | |
---|---|---|
.. | ||
README.md | 10 years ago | |
collatz.c | 10 years ago |
This program finds the longest chain of operations for the Collatz conjecture. It takes two Natural numbers as command line arguments. The first number is the start value, and the second is the ending value. The program then checks each number between these two values to see if the string of operations is longer than the current max value, and then outputs this max value upon completion.