The Collatz Conjecture
If \(n\) is even, use \(\frac{n}{2}\). Otherwise, use \(3n + 1\).
\[ f(n) = \begin{cases} \frac{n}{2}, & n \text{ is even}, \\ 3n + 1, & n \text{ is odd}. \end{cases} \]
Tip: Drag the numbers around! 😁
Following 19.
If \(n\) is even, use \(\frac{n}{2}\). Otherwise, use \(3n + 1\).
\[ f(n) = \begin{cases} \frac{n}{2}, & n \text{ is even}, \\ 3n + 1, & n \text{ is odd}. \end{cases} \]
Tip: Drag the numbers around! 😁
Following 19.