Having trouble trying to understand how to tackle this question. $19^{16} \mod{20413}$. When approaching this question I understand the steps involved such as $19^{16} / 20413 = 1.413028039\cdot10^{16}$. However not sure what to subtract this answer to achieve a $0$ before the decimal point in order to multiply by $20413$ to get the answer. From the answer sheet the intended answer is $11546$.
Appreciate the help.
$$19^2=361$$ $$19^4=361^2=130321\equiv 7843 \pmod {20413}$$ $$19^8\equiv 7843^2 \equiv 8280 \pmod {20413}$$ $$19^{16}\equiv 8280^2\equiv 11546 \pmod {20413}$$