Show worked solution
Worked solution
Write the exponent as a sum of powers of
Repeated squaring produces exactly these powers of .
Square to reach the exponent
Reducing modulo after every squaring keeps the arithmetic small.
Square to reach the exponent
Reducing modulo after every squaring keeps the arithmetic small.
Square to reach the exponent
Reducing modulo after every squaring keeps the arithmetic small.
Square to reach the exponent
Reducing modulo after every squaring keeps the arithmetic small.
Square to reach the exponent
Reducing modulo after every squaring keeps the arithmetic small.
Square to reach the exponent
Reducing modulo after every squaring keeps the arithmetic small.
Square to reach the exponent
Reducing modulo after every squaring keeps the arithmetic small.
Square to reach the exponent
Reducing modulo after every squaring keeps the arithmetic small.
Square to reach the exponent
Reducing modulo after every squaring keeps the arithmetic small.
Square to reach the exponent
Reducing modulo after every squaring keeps the arithmetic small.
Multiply in the factor
The exponent is the sum , so these are exactly the powers that must be multiplied together.
Multiply in the factor
The exponent is the sum , so these are exactly the powers that must be multiplied together.
Multiply in the factor
The exponent is the sum , so these are exactly the powers that must be multiplied together.
Multiply in the factor
The exponent is the sum , so these are exactly the powers that must be multiplied together.
Multiply in the factor
The exponent is the sum , so these are exactly the powers that must be multiplied together.
Select the least residue
This is the remainder when the power is divided by .