I have this permutation $A$:
$$ \left(\begin{array}{rrrrrrrrrr} 1 & 2 & 3 & 4 & 5 & 6 & 7 & 8 & 9 & 10 \\ 10 & 8 & 5 & 2 & 3 & 1 & 6 & 4 & 7 & 9 \end{array}\right) $$
I want to calculate $A^9$. Is it ok to calculate it in this way?
$$A*A*A*A*A*A*A*A*A$$
where $A*A$ is defined as $A$ composed with $A$.
Thanks much in advance!!!