# calculating group homomorphisms

I have the following question and have become a bit stuck. Any help is greatly appreciated!

Let $Z=\langle z\rangle$ be the cyclic group of order $7$ (so for every $i=1,\dots,6$ there's an automorphism $f_i$ taking $z$ to $z^i$), so $Y=Aut(Z)= \{f_i\mid i=1,\dots,6\}$. Also, let $X=\langle x\rangle$ be a cyclic group of order $3$.

How do I compute the homomorphism $\phi:X\rightarrow Y=Aut(Z)$ sending $x$ to $f_2$?

This is extremely simple. $X=\{1,x,x^2\}$, $\phi(x)=f_2$. Thus $\phi(x^2)=\phi(x)\circ \phi(x)= f_2\circ f_2$. What is $f_2\circ f_2$?
• Thank you so much, that's what I thought it was but I didn't think it would be as straightforward. So $f_2\circ f_2 = (x^2)^2 = x^4 = x$? – AKCJ Mar 18 '17 at 15:51
• @AKCJ $f_2\circ f_2=f_4$. $x$ is an element of the domain. It is not $f_i$ for any $i$. – Matt Samuel Mar 18 '17 at 15:58