Greetings,
My goal is to return a geometric sequence of integers: the values are initially consistent, but go erratic about 50 steps into the sequence; the function returns a negative value, -59 in the case of mod 111, then repeats zero.
How might I resolve this issue?