Given a function f:X→X of a set X, then x in X is a periodic point if the sequence
eventually returns to x. (Here fk(x) denotes k applications of f to x.) The least positive n such that fn(x) = x is called the period of x and
is called the orbit of x.