Mathick
- 23
- 0
HELP - math game
A positive whole number was written on the board. In each step we rub out the number $$n$$ (written on the board) and we write a new one. If number $$n$$ is even, then we write number $$\frac{n}{2}$$ on the board. If number $$n$$ is odd, then we choose one of the numbers: $$3n-1$$ or $$3n+1$$ and we write it down on the board. Decide, if after finite amount of steps, we can obtain the number 1 one the board (no matter which number was written on the board at the beginning).
Please help. I can't figure it out. I know that it can be connected to invariants.
A positive whole number was written on the board. In each step we rub out the number $$n$$ (written on the board) and we write a new one. If number $$n$$ is even, then we write number $$\frac{n}{2}$$ on the board. If number $$n$$ is odd, then we choose one of the numbers: $$3n-1$$ or $$3n+1$$ and we write it down on the board. Decide, if after finite amount of steps, we can obtain the number 1 one the board (no matter which number was written on the board at the beginning).
Please help. I can't figure it out. I know that it can be connected to invariants.
Last edited: