This question applies the Binomial Theorem to practical problems including finding remainders, last digits, and divisibility tests for large powers.
For any positive integer :
where .
To find the remainder when a large power is divided by a number, rewrite the base so that one part is a multiple of the divisor.
Example: Find the remainder when is divided by .
Every term except the first () contains a factor of , so:
To find the last digit (units digit) of a large power, find the remainder when divided by .
Example: Find the last digit of .
Every term with contains , which is divisible by . So:
To show is divisible by , write and expand. All terms except the constant will contain as a factor.
Example: Show that is divisible by .