Q1.
Look at the sequences below—the same rule is applied in all the sequences: a. 12, 6, 3, 10, 5, 16, 8, 4, 2, 1 b. 17, 52, 26, 13, 40, 20, 10, 5, 16, 8, 4, 2, 1 c. 21, 64, 32, 16, 8, 4, 2, 1 d. 22, 11, 34, 17, 52, 26, 13, 40, 20, 10, 5, 16, 8, 4, 2, 1. Do you see how these sequences were formed?
Answer
Yes. There is one rule with two parts, applied again and again:
If the number is even → take half of it
If the number is odd → multiply by 3 and add 1
If the number is odd → multiply by 3 and add 1
Check sequence (a) step by step:
12 is even → 12 ÷ 2 = 6
6 is even → 6 ÷ 2 = 3
3 is odd → 3 × 3 + 1 = 10
10 is even → 5
5 is odd → 5 × 3 + 1 = 16
16 → 8 → 4 → 2 → 1
6 is even → 6 ÷ 2 = 3
3 is odd → 3 × 3 + 1 = 10
10 is even → 5
5 is odd → 5 × 3 + 1 = 16
16 → 8 → 4 → 2 → 1
Sequence (c) is the shortest because 21 → 64, and 64 is a power of 2, so it just keeps halving: 64, 32, 16, 8, 4, 2, 1.
Did you notice? Every sequence ends with the same tail … 16, 8, 4, 2, 1. Once a sequence reaches a power of 2, the rest is only halving.