Consider the following:
We start with a positive integer: x
If x is even, do
x/2
If is odd, do
Floor function( x * y)
with y being some decimal number between 1 and 2
And repeat until a loop is reached. If 1 is reached, the next number will be 1 as well. So we reach a loop too.
An example:
x =...