Course 1: Problem-Solving and Computational Thinking in Java
Sprint 5: Working with Looping Constructs
Calculate the number of steps required to reach 1 from a given number n
by following the Collatz sequence.
- Open the source code file and complete the code.
- Open the test case file and run the test cases to check your code.
- List of number of steps to reach 1 for Collatz Conjecture from OEIS
- Collatz Conjecture on OEIS (One-Line Encyclopedia for Integer Sequences)
- Collatz Conjecture on Wikipedia
- UNCRACKABLE? The Collatz Conjecture - Numberphile
- Collatz Conjecture in Color - Numberphile
- Conjecture meaning in the Cambridge English Dictionary
- What is the Collatz Conjecture? - CollatzResearch.org