Recall that the Syracuse function is defined for integers by
Many questions about the iterative behavior of – in particular, the question of whether the value of some iterate from any starting point is – are unaffected if is replaced with the function defined as follows: or, as one might more informally write, for ,
Generalizing this, for given pairwise coprime integers with , one defines for Here, for an integer , the phrase “ made coprime to ” means that for any common prime divisor of and the highest power of dividing is removed as a factor. Note that the meaning of is not changed when is replaced by the product of the distinct primes dividing ; that is, without loss of generality one may restrict to the case where is square-free.
Example: .
Exercises:
Write code for gp to investigate the iterates of from a given integer. In particular, the code should be able to determine whether from a given starting integer a cycle is formed within the first iterates.
Determine what cycles, if any, are formed and whether there seems to be a pattern of unbounded growth in the iterates for in the following cases:
.
.
.