**Q8.** Write ... sum is 18,670
Ans:
17,000+800+870=18670
---
**Q9.** Check if ... 100
Ans:
2100=50250=2525×3+1=76276=38238=1919×3+1=58258=2929×3+1=88288=44244=22222=1111×3+1=34234=1717×3+1=52252=26226=1313×3+1=40240=20220=10210=55×3+1=16216=828=424=222=1
Answer: Yes, following the Collatz rule starting from 100, the sequence reaches 1 in 25 steps: 100→50→25→76→38→19→58→29→88→44→22→11→34→17→52→26→13→40→20→10→5→16→8→4→2→1.
Step-by-step solution
Step 1: State the rule and start at 100
The Collatz process takes any positive integer n. If n is even, we divide it by 2; if n is odd, we multiply it by 3 and add 1. We repeat this procedure starting with n=100.
Step 2: Compute terms from 100 to 19
Starting at 100, dividing by 2 gives 50, and dividing again gives 25. Since 25 is odd, we compute 25×3+1=76. Then 76÷2=38, and 38÷2=19.
Step 3: Compute terms from 19 to 11
From the odd number 19, 19×3+1=58. Dividing by 2 gives 29. Since 29 is odd, 29×3+1=88. Then successively dividing by 2 gives 44, 22, and 11.
Step 4: Compute terms from 11 to 13
For the odd number 11, 11×3+1=34. Half of 34 is 17. For the odd number 17, 17×3+1=52. Dividing by 2 twice produces 26 and then 13.
Step 5: Compute terms from 13 to 1
From 13, 13×3+1=40. Successive divisions by 2 give 20, 10, and 5. Then 5×3+1=16. Halving repeatedly gives 8, 4, 2, and finally 1. Thus, the sequence successfully reaches 1.