I was going through this website where I found 3n + 1 problem.
I was not able to understand what the output should be.
I understood if the input is 1 and 10
then the numbers between 1 to 10 need to be in consideration, and the output will be 20.
But I am wondering how it can be 20.
Where as 10 - 10 5 16 8 4 2 1. (Total 6 excluding 16).
Then how can be it 20?
Please could you please help me.
Please make me understand the problem, What it really wants me to solve?
Please tell me if I had put some wrong tag