Is there any shortcut way to find the last two decimal digits of a modular exponentiation (base always is a single digit number) without doing square and multiply?
As an example in $$2^{100001} \pmod{10001}$$
the last two decimal digits are 48.
Is there any shortcut way to find the last two decimal digits of a modular exponentiation (base always is a single digit number) without doing square and multiply?
As an example in $$2^{100001} \pmod{10001}$$
the last two decimal digits are 48.