Question

Difficulty: MediumModular Arithmetic

What is the canonical non-negative remainder when 345113^{45} - 11 is divided by 77?

Answer: 2

Answer

The correct answer is 2.
Using modular exponentiation, 33=271(mod7)3^3 = 27 \equiv -1 \pmod{7}, so 345=(33)15(1)15=1(mod7)3^{45} = (3^3)^{15} \equiv (-1)^{15} = -1 \pmod{7}. Subtracting 11 yields 111=12(mod7)-1 - 11 = -12 \pmod{7}. Adding 14 (a multiple of 7) gives 12+14=2-12 + 14 = 2, which is the canonical non-negative remainder.

Step-by-Step Solution

1
Evaluate 345(mod7)3^{45} \pmod{7} using power rules
3451(mod7)3^{45} \equiv -1 \pmod{7}
Since 33=271(mod7)3^3 = 27 \equiv -1 \pmod{7}, raising both sides to the power of 15 gives (33)15(1)15=1(mod7)(3^3)^{15} \equiv (-1)^{15} = -1 \pmod{7}.
2
Subtract 11 from the modular result
-12 \pmod{7}
Replacing 3453^{45} with 1-1 gives 111=12-1 - 11 = -12.
3
Reduce -12 to its canonical non-negative remainder in [0,6][0, 6]
2
Adding the smallest multiple of 7 that makes the result non-negative gives 12+14=2-12 + 14 = 2.

Key Concept

Modular Exponentiation and Negative Remainder Reduction
Rate this question