UPSC CSAT 2025 Q67: Remainder of a Sum of Powers of 9 — Solved

What is the remainder when

9³ + 9⁴ + 9⁵ + 9⁶ + . . . + 9¹⁰⁰

is divided by 6 ?

  1. 0
  2. 1
  3. 2
  4. 3

Answer: (a) 0

Solution

  1. Find the remainder of 9 when divided by 6. 9 = 6 × 1 + 3, so 9 leaves remainder 3.
  2. Find the remainder of each power of 9 when divided by 6. Multiply remainders and reduce again by 6. - 9¹ → 3 - 9² → 3 × 3 = 9 → 9 − 6 = 3 (check: 81 = 6 × 13 + 3) - 9³ → 3 × 3 = 9 → 3 (check: 729 = 6 × 121 + 3) The remainder stays at 3, because 3 × 3 = 9 always reduces back to 3. So every power 9ⁿ leaves remainder 3 when divided by 6.

  3. Count the terms. The powers run from 3 to 100. Number of terms = 100 − 3 + 1 = 98.

  4. Add the remainders. Total remainder before reducing = 98 × 3 = 294.
  5. Reduce 294 by 6. 294 = 6 × 49, so 294 ÷ 6 leaves 0.
  6. Check with divisibility. Every term 9ⁿ is odd and is a multiple of 3. The sum of 98 odd numbers is even, because 98 is even. A sum of multiples of 3 is a multiple of 3. A number that is even and a multiple of 3 is a multiple of 6.
  7. Answer: the remainder is 0.

Option-wise explanation

  • a: correct — Each of the 98 terms leaves remainder 3. 98 × 3 = 294 = 6 × 49, so the remainder is 0. Put another way, the sum is even (98 odd terms) and a multiple of 3, so it is a multiple of 6.
  • b: incorrect — Every term is a multiple of 3, so the sum is a multiple of 3 and its remainder on division by 6 can only be 0 or 3. Remainder 1 is impossible. The trap is using the unit-digit cycle of 9 (9, 1, 9, 1 …) or the fact that 9 leaves remainder 1 when divided by 4 or 8, and applying it to 6.
  • c: incorrect — The sum is a multiple of 3, so a remainder of 2 is impossible. You can only get 2 by an arithmetic slip, such as reducing 9 to 2 instead of 3.
  • d: incorrect — You get 3 if you count an odd number of terms (97 or 99 instead of 100 − 3 + 1 = 98). You also get 3 if you stop at the remainder of a single term. With 98 terms, 98 × 3 = 294 is an exact multiple of 6.

How to eliminate

Use divisibility, not computation. Step 1: every term is a power of 9, so the sum is a multiple of 3. The remainder on division by 6 must then be 0 or 3. This removes 1 and 2 at once. Step 2: every term is odd. Count the terms: 100 − 3 + 1 = 98, which is even. An even number of odd terms adds up to an even number. Even and a multiple of 3 means a multiple of 6, so the remainder is 0. Remainder 3 would need an odd sum, which needs an odd number of terms. The only real trap is the term count, so count with 'last − first + 1'. About 30–45 seconds once you think of parity plus divisibility by 3. Attempt it in your first pass.

Know more

Remainder of a sum of powers

For (aᵐ + aᵐ⁺¹ + … + aⁿ) ÷ d:

  1. Reduce the base: r = a mod d.
  2. Find the pattern of rᵏ mod d. It is either constant or it cycles.
  3. Count the terms (n − m + 1), add the remainders for one full cycle, multiply, and reduce once more.
Base remainder r (mod d) Pattern of rᵏ Remainder of sum of N terms
1 1, 1, 1 … N mod d
d − 1 (that is, −1) −1, +1, −1 … 0 if N is even
r with r × r ≡ r (e.g. 3 or 4 mod 6) r, r, r … (N × r) mod d
other cycles (sum of one cycle × number of cycles + leftover) mod d

When d is a product of small coprime numbers, you can test each factor on its own. For d = 6, check parity and divisibility by 3 separately.

Worked variant: remainder of 5¹ + 5² + … + 5²¹ divided by 6.

  • 5 ≡ −1 (mod 6), so the remainders go −1, +1, −1, +1 …
  • There are 21 terms: 10 pairs that each add to 0, plus one extra −1.
  • Total ≡ −1 ≡ 5 (mod 6). The remainder is 5.

Check: 5¹ = 5 leaves 5, and 5² = 25 leaves 1. The pattern holds.