For a positive integer , define when is an even number, and when is an odd number. Starting at gives . Computing many trajectories benefits from memoization, since trajectories that reach the same value have identical continuations.
New to topics? Read the docs here!