Let $f$ be a bijective (one-one and onto) function from the set $$A=\{1,2,3,…,n\}$$ to itself. Show that there is a positive integer $M>1$ such that $$f^M(i)=f(i)$$ for each $i\in A$
[$f^M$ denotes the composite function $f\times f \times f \times \dotsb \times f$, repeated $M$ times.]
Please help me!!!
Consider the set $S$ to be the set of all bijective functions on $A$. Then check that $|S| = n!$. In fact, all you need is that $|S| < \infty$.
Now consider the set $T:= \{f, f^2, f^3, \ldots\} \subset S$. Since $T$ is finite, $\exists n,m\in \mathbb{N}$ such that $n\neq m$ and $$ f^n = f^m $$ as functions (ie. $f^n(i) = f^m(i)$ for all $1\leq i\leq m$).
Can you use this to construct the number $M$ you need?