What is the remainder when 1693730 is divided by 31?
2024
What is the remainder when 1693730 is divided by 31?
- A.
2
- B.
1
- C.
6
- D.
3
Attempted by 3 students.
Show answer & explanation
Correct answer: B
Concept: Fermat's Little Theorem states that if p is a prime number and a is not divisible by p, then ap-1 is congruent to 1 modulo p. This lets the remainder of a very large power be found by reducing the exponent using p - 1, instead of computing the power directly.
Application:
Reduce the base modulo 31: 16937 = 31 x 546 + 11, so 16937 is congruent to 11 (mod 31).
31 is prime and 11 is not divisible by 31, so Fermat's Little Theorem applies with p = 31.
The exponent 30 is exactly p - 1 = 30, so the theorem applies directly: 1130 is congruent to 1 (mod 31).
Therefore, 1693730 is congruent to 1130 is congruent to 1 (mod 31).
Cross-check (repeated squaring, independent of the Fermat shortcut):
112 = 121, and 121 mod 31 = 28, which is congruent to -3 (mod 31).
114 = (112)2 is congruent to (-3)2 = 9 (mod 31).
116 = 114 x 112 is congruent to 9 x (-3) = -27, which is congruent to 4 (mod 31).
1130 = (116)5 is congruent to 45 (mod 31).
42 = 16, 44 = 162 = 256, which is congruent to 8 (mod 31), so 45 = 44 x 4 is congruent to 8 x 4 = 32, which is congruent to 1 (mod 31).
Both methods agree: the remainder is 1, matching the option "1".