A periodic point of a function f : X → X is a point x ∈ X for
which there is a number p (a period) with (f(x))^p = x (f^p denotes
the composite (f ◦...◦f) of f with itself p times).
A fixpoint is a periodic point with minimal period p = 1, that
is, a point x ∈ X such that f(x) = x.
For X = {1,2,...,n}, count the number of functions f : X → X...