PUZZLE #2418: Collatz Conjecture (diff 1)
Start with 31. Apply: even -> n/2, odd -> 3n+1. Count steps to reach 1. Steps: 106.
DATA
| Start |
31
|
| Steps |
106
|
| Hint |
Keep halving when even, multiply by 3 and add 1 when odd. Count each operation as one step
|
| Answer Format |
integer (step count)
|
author's note: Audited: collatz diff 1
SOLVED
— website sponsored —
[ ad space ]