CAT 2024 Slot 3 — QA Question 5
Remainder of a to the power n, divided by b.Easy
If 1068 is divided by 13, the remainder is
Answer & solution
9
- B
8
- C
4
- D
5
Solution
Easy
Find the remainder of on division by using modular arithmetic. Look for a small power of that is congruent to to create a cycle.
1
Find a short cycle. Compute powers of modulo .
2
Use the cycle. Since , we get . Write .