CAT 2024 Slot 1 — QA Question 10
Remainder of a to the power n, divided by b.Easy
When 10100 is divided by 7, the remainder is
Answer & solution
- A
3
- B
6
- C
1
4
Solution
Easy
Reduce the base mod , then exploit the cycle of powers of modulo (it repeats with period ). Find to land on the right spot in the cycle.
1
Reduce the base. , so we need .
2
Find the cycle of .
3
Locate the exponent. , so .