How can one find out the value of $43^{1234567890} \mod 22\;?$
Can I just say that because $123456890$ is an even number I can calculate $43^2 \mod 22$, which is $1$?
How can one find out the value of $43^{1234567890} \mod 22\;?$
Can I just say that because $123456890$ is an even number I can calculate $43^2 \mod 22$, which is $1$?
It turns out to be true, but the way you phrase it seems a bit wrong.
So, just to avoid any confusion, you can calculate $43^2 \pmod {22}$ but only because $43 \equiv -1 \pmod {22}$ and ${(-1)}^n = {(-1)}^2$ for every even n.
In other words, $42^{1234567890} \equiv 42^2 \pmod {22}$ would have been false