🔴 Riddle #199 of 240
The Collatz game: if a number is even, halve it; if it is odd, triple it and add 1. Repeat. Starting from 27 — a famously stubborn starter — how many steps does it take to reach 1, and what is the highest value reached on the way?
Think about it first. When you're ready:
111 steps; peak 9,232
Iterating the Collatz rule from 27 reaches 1 after 111 steps, with a maximum value of 9,232.