I want to find the order of $\operatorname{Aut}(\mathbb{Z}_5\times\mathbb{Z}_5)$.
Since generators need to map to generators, and the identity needs to map to the identity, and since any non-identity element generates this group, I think the order should be $4 \cdot3 \cdot 2 = 24$.
But I saw here that
$\left| \operatorname{Aut}(G)\right|=\phi(m)$ where $\phi(m)$ is Euler's function, and $m$ is the order of the cyclic group.
I think the order of $\mathbb{Z}_5\times\mathbb{Z}_5$ is $25$, and $\phi(25)=20$ since 5,10, 15, 20, and 25 are not relatively prime to $25$.
Where am I going wrong?
This is similar to This question, but I don't understand the answer.