Last Digits Using Binomial Expansion
## Formula
If:
$$N=a+b$$
and $$b$$ is divisible by $10^k$, then:
$$N^n\equiv a^n\pmod{10^k}$$
## Usage
- Used to determine the last $$k$$ digits of large powers when a convenient binomial decomposition is available.