I've got a few questions to ask regarding Euler's totient function and modular arithmetic:
Find $\varphi(24)$. What will the indication of a 24-hour clock be $7^{19}$ hours after 1 : 00?
I've worked out that $\varphi(24) = 8$ with the $8$ numbers co-prime to $24$ being $1, 5, 7, 11, 13, 17, 23$ but I'm not sure about how to go about working the second part of the question.
2) Find $\varphi(100)$. What are the last two digits of $7^{100}$ in the decimal number system?
So far I've got that $\varphi(100) = 40$ and $7^{40} = 1\ (\text{mod } 100)$ using Euler's theorem but I am not sure how to do the second part of the question.
Thank you in advance for any help!