- #1
Mathick
- 23
- 0
HELP - math game
A positive whole number was written on the board. In each step we rub out the number \(\displaystyle n\) (written on the board) and we write a new one. If number \(\displaystyle n\) is even, then we write number \(\displaystyle \frac{n}{2}\) on the board. If number \(\displaystyle n\) is odd, then we choose one of the numbers: \(\displaystyle 3n-1\) or \(\displaystyle 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 \(\displaystyle n\) (written on the board) and we write a new one. If number \(\displaystyle n\) is even, then we write number \(\displaystyle \frac{n}{2}\) on the board. If number \(\displaystyle n\) is odd, then we choose one of the numbers: \(\displaystyle 3n-1\) or \(\displaystyle 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: