The Concept:
We pick a random number between 1 and 250. If the number is odd we add 1 and if the number is even we divide by two. This continues until the number is zero.
| The random number is |
230 |
|
115 116 58 29 30 15 16 8 4 2 1 |
|
| It took 11 steps! | |