What is the remainder of (32^31^301) when it is divided by 9?

2026

What is the remainder of (32^31^301) when it is divided by 9?

  1. A.

    3

  2. B.

    5

  3. C.

    2

  4. D.

    1

Attempted by 847 students.

Show answer & explanation

Correct answer: B

Step 1: Reduce the base modulo 9. 32 ≡ 5 (mod 9), so the expression becomes 5^{31^{301}} (mod 9).

Step 2: Use Euler's theorem. φ(9)=6, and gcd(5,9)=1, so 5^6 ≡ 1 (mod 9).

Step 3: Reduce the exponent modulo 6. 31 ≡ 1 (mod 6), so 31^{301} ≡ 1^{301} ≡ 1 (mod 6).

Step 4: Conclude the remainder. Therefore 5^{31^{301}} ≡ 5^{1} ≡ 5 (mod 9), so the remainder is 5.

Explore the full course: Tcs Live Preparation