@geocalc33 You might review what it means for a group to act on a set. In particular, if $a\ne \pm 1$, does multiplication by $1/a$ map integers to integers?
This question has been around for while, but I still have a question please. I will discuss the following solution.
Given tree successor algorithm below, that given an $x$, it will find it's left-most node of right-subtree of $x$.
successor = getSuccessor (rightNode(x))
Fun getSuccessor(Node node...