Using the Collatz Conjecture
Go from 5632 to 1
This takes 23 steps
We start with n = 5632
5632 is even
Divide 5632 by 2
5632 ÷ 2 = 2816
2816 is even
Divide 2816 by 2
2816 ÷ 2 = 1408
1408 is even
Divide 1408 by 2
1408 ÷ 2 = 704
704 is even
Divide 704 by 2
704 ÷ 2 = 352
352 is even
Divide 352 by 2
352 ÷ 2 = 176
176 is even
Divide 176 by 2
176 ÷ 2 = 88
88 is even
Divide 88 by 2
88 ÷ 2 = 44
44 is even
Divide 44 by 2
44 ÷ 2 = 22
22 is even
Divide 22 by 2
22 ÷ 2 = 11
11 is odd
Multiply 3 by 11 and add 1
3(11) + 1
33 + 1
34
34 is even
Divide 34 by 2
34 ÷ 2 = 17
17 is odd
Multiply 3 by 17 and add 1
3(17) + 1
51 + 1
52
52 is even
Divide 52 by 2
52 ÷ 2 = 26
26 is even
Divide 26 by 2
26 ÷ 2 = 13
13 is odd
Multiply 3 by 13 and add 1
3(13) + 1
39 + 1
40
40 is even
Divide 40 by 2
40 ÷ 2 = 20
20 is even
Divide 20 by 2
20 ÷ 2 = 10
10 is even
Divide 10 by 2
10 ÷ 2 = 5
5 is odd
Multiply 3 by 5 and add 1
3(5) + 1
15 + 1
16
16 is even
Divide 16 by 2
16 ÷ 2 = 8
8 is even
Divide 8 by 2
8 ÷ 2 = 4
4 is even
Divide 4 by 2
4 ÷ 2 = 2
2 is even
Divide 2 by 2
2 ÷ 2 = 1