HomeStudy NotesSSC CGL › Remainder Theorem — SSC CGL Study Notes

Remainder Theorem — SSC CGL Study Notes

Every rule you need for remainder questions in Tier I and Tier II, in the order the exam tests them — with one worked example and one trap per rule.

Remainder questions appear in almost every SSC CGL, CHSL and CPO shift: a huge power divided by a small number, a product of three numbers by 17, a number that leaves 3 by 7 and 5 by 9, or a polynomial divided by \( (x - 2) \). None of them is meant to be computed. Each rests on one of about ten rules, and once the rule is spotted the question takes under a minute. These notes cover exactly those rules, the way the chapter tests on this site are built: the rule in general letters, then one example, then the mistake most candidates make.

Contents
  1. What a remainder is — the dividend formula
  2. Sums, differences and products — replace every term by its remainder
  3. Powers when the base is one more or one less than the divisor
  4. Powers with any base — the cycle method
  5. Sums of powers
  6. Multiples and polynomials of n, and passing to a factor divisor
  7. Finding the divisor from remainder facts
  8. Successive division
  9. Numbers that satisfy two or three remainder conditions
  10. Divisibility of aⁿ ± bⁿ and "always divisible by" expressions
  11. The polynomial remainder theorem
  12. Special forms — long numbers, factorials, power towers
  13. FAQ
Remainder Theorem chapter tests200 questions, 2 levels, EN + HISSC CGL previous year papersFree online tests, all shiftsSSC CHSL previous year papersTier I shifts, Hindi + EnglishSSC CGL mock tests50 Tier I + 50 Tier II, sectional timing

1What a remainder is — the dividend formula

When \( N \) is divided by \( d \), we get a quotient \( q \) and a remainder \( r \) with \( 0 \le r < d \). The whole chapter hangs on one identity:

Concept

\( N = d \times q + r \)  (Dividend = Divisor × Quotient + Remainder), and the remainder is always smaller than the divisor.

Shorthand used everywhere below: "\( N \bmod d \)" means "the remainder when \( N \) is divided by \( d \)", and \( a \equiv b \) (mod \( d \)) means \( a \) and \( b \) leave the same remainder by \( d \).

Example

A number divided by 56 gives quotient 143 and remainder 39. Remainder by 45? Rebuild first: \( N = 56 \times 143 + 39 = 8047 \); then \( 8047 = 45 \times 178 + 37 \). Answer 37.

Trap

A remainder can never equal or exceed the divisor. If your working ends in "remainder 24 by 17", you are not finished — reduce once more to 7.

2Sums, differences and products — replace every term by its remainder

Concept

\( (A + B) \bmod d = (r_A + r_B) \bmod d \),   \( (A - B) \bmod d = (r_A - r_B) \bmod d \),   \( (A \times B) \bmod d = (r_A \times r_B) \bmod d \).

Any term that is a multiple of \( d \) contributes 0. A remainder may be taken negative for speed: 49 by 50 is \( -1 \), 47 by 50 is \( -3 \). Turn a negative answer positive by adding \( d \).

Example

\( 47 \times 48 \times 49 \times 51 \) by 50: replace by \( (-3)(-2)(-1)(+1) = -6 \), and \( -6 + 50 = \) 44. Without negatives you would multiply 47·48·49·51 by hand.

Shortcut

Reduce after every multiplication so the numbers stay small: \( 58 \times 59 \times 62 \) by 13 → \( 6 \times 7 = 42 \to 3 \); \( 3 \times 10 = 30 \to 4 \).

Trap

An odd number of negative factors gives a negative product — \( (-3)(-2)(-1) = -6 \), not 6. Count the minus signs.

3Powers when the base is one more or one less than the divisor

Concept

\( (d + 1)^{n} \bmod d = 1 \) for every \( n \).

\( (d - 1)^{n} \bmod d = 1 \) if \( n \) is even, and \( d - 1 \) (that is, \( -1 \)) if \( n \) is odd.

Reason: \( (d \pm 1)^{n} \) expands to a multiple of \( d \) plus \( (\pm 1)^{n} \).

Example

\( 23^{45} \) by 24: \( 23 \equiv -1 \), 45 is odd, so remainder \( -1 \to \) 23.   \( 9^{100} + 15 \) by 8: \( 9 \equiv 1 \), so \( 1 + 15 = 16 \to \) 0.   \( 25^{33} + 27 \) by 26: \( -1 + 27 = 26 \to \) 0.

Shortcut

Two bases either side of the divisor cancel: \( 11^{11} + 13^{13} \) by 12 is \( -1 + 1 = 0 \); \( 35^{64} + 35^{63} \) by 36 is \( 1 - 1 = 0 \).

Trap

When the base is \( d - 1 \), the answer depends on the parity of the exponent. Writing 1 for \( 23^{45} \) by 24 is the single most common slip in this chapter.

4Powers with any base — the cycle method

Concept

Reduce the base first: \( a^{n} \bmod d = (a \bmod d)^{n} \bmod d \). Then compute \( a, a^{2}, a^{3}, \ldots \) by \( d \) until you hit remainder 1 (or \( -1 \)). If \( a^{k} \equiv 1 \), the remainders repeat with cycle length \( k \), so reduce the exponent: \( a^{n} \equiv a^{(n \bmod k)} \). If you find \( a^{k} \equiv -1 \) instead, then \( a^{2k} \equiv 1 \) — reduce by \( 2k \) and remember a leftover \( a^{k} \) is \( -1 \).

Example

\( 3^{100} \) by 13: \( 3^{3} = 27 \equiv 1 \), cycle 3; \( 100 = 3 \times 33 + 1 \), so remainder \( 3^{1} = \) 3.

\( 3^{50} \) by 41: \( 3^{4} = 81 \equiv -1 \), so \( 3^{8} \equiv 1 \); \( 50 = 8 \times 6 + 2 \), remainder \( 3^{2} = \) 9.

\( 100^{55} \) by 7: \( 100 \equiv 2 \), \( 2^{3} \equiv 1 \), \( 55 = 3 \times 18 + 1 \), remainder 2.

Shortcut

Regroup to reach a base of \( d \pm 1 \): \( 2^{33} + 1 \) by 9 is \( 8^{11} + 1 \) with \( 8 \equiv -1 \), so the remainder is 0. \( 4^{3n} - 1 = 64^{n} - 1 \) is always divisible by 63.

Trap

The exponent is reduced by the cycle length, never by the divisor. \( 3^{100} \) by 13 uses \( 100 \bmod 3 \), not \( 100 \bmod 13 \).

5Sums of powers

Concept

Find the remainder of each term, then count. If every term leaves \( r \), the sum leaves (number of terms × \( r \)) mod \( d \). If the base is \( d - 1 \), odd powers leave \( -1 \) and even powers \( +1 \), so consecutive terms cancel in pairs. If the remainders run in a cycle, add one full cycle and count the cycles.

Example

\( 7 + 7^{2} + \ldots + 7^{30} \) by 6: every term leaves 1, 30 terms, \( 30 \bmod 6 = \) 0.

\( 5 + 5^{2} + \ldots + 5^{41} \) by 6: 21 odd exponents (\( -1 \) each), 20 even (\( +1 \) each): \( -21 + 20 = -1 \to \) 5.

\( 3 + 3^{2} + \ldots + 3^{60} \) by 13: cycle 3, 9, 1 sums to 13 \( \equiv 0 \); 20 full cycles → 0.

Trap

Count the terms carefully — \( 1 + 8 + 8^{2} + \ldots + 8^{22} \) has 23 terms (exponents 0 to 22), not 22.

6Multiples and polynomials of n, and passing to a factor divisor

Concept

If \( n \bmod d = r \), then replace \( n \) by \( r \) in any expression: \( (kn + c) \bmod d = (kr + c) \bmod d \), \( n^{2} \bmod d = r^{2} \bmod d \), \( (n^{2} + 5n + 8) \bmod d = (r^{2} + 5r + 8) \bmod d \).

If \( f \) is a factor of \( d \), then \( N \bmod f = r \bmod f \) — only the old remainder needs dividing. Going the other way (to a multiple of \( d \)) leaves several possibilities: remainder 5 by 8 means 5, 13 or 21 by 24.

Example

\( n \) leaves 7 by 9; \( 5n + 4 \) by 9: \( 35 + 4 = 39 \to \) 3.   \( n \) leaves 5 by 11; \( n(n + 2) \) by 11: \( 5 \times 7 = 35 \to \) 2.

Number leaves 59 by 84; by 21: \( 59 \bmod 21 = \) 17. Chained: \( N^{2} \) by 12 → \( 59 \bmod 12 = 11 \equiv -1 \), square → 1.

Trap

Never substitute \( n = d \). The divisor is not a value of \( n \); only the remainder represents \( n \).

7Finding the divisor from remainder facts

Concept

If \( N \) leaves \( r \) and \( kN \) leaves \( r' \) by the same \( d \), then \( d \) divides \( k \times r - r' \). Similarly, if two numbers leave \( r_1, r_2 \) and their sum leaves \( s \), then \( d \) divides \( r_1 + r_2 - s \). In every case, \( d \) is bigger than every remainder that appears — that bound is what picks the answer from the divisors.

Example

\( N \) leaves 11, \( 6N \) leaves 9: \( d \mid 66 - 9 = 57 = 3 \times 19 \); \( d > 11 \) → \( d = 19 \) or 57; least is 19.

Remainders 23 and 31, sum leaves 15: \( d \mid 23 + 31 - 15 = 39 \), \( d > 31 \) → 39.

Trap

"The least \( d \)" is not "the first number above the remainder" — 12 does not divide 57. List the divisors, then apply the bound.

8Successive division

Concept

In successive division each quotient becomes the next dividend. To recover the number, work backwards: \( N = d_1\,(d_2\,(d_3 q + r_3) + r_2) + r_1 \). For the least such number take the final quotient \( q = 0 \).

Key link: successive remainders \( r_1, r_2 \) by \( d_1, d_2 \) mean \( N \bmod (d_1 d_2) = r_1 + d_1 r_2 \).

Example

Successively by 4, 5, 6 leaving 3, 2, 4, last quotient 2: \( 6 \times 2 + 4 = 16 \); \( 5 \times 16 + 2 = 82 \); \( 4 \times 82 + 3 = \) 331.

Successively by 5 and 7 leaving 3 and 4 → by 35 in one division the remainder is \( 3 + 5 \times 4 = \) 23, whatever the final quotient.

Trap

Reversing the order changes every remainder — rebuild the number and divide again; never reuse the old remainders.

9Numbers that satisfy two or three remainder conditions

Concept

If \( N \) leaves \( r_1 \) by \( a \) and \( r_2 \) by \( b \) with \( a, b \) co-prime, the solutions repeat every \( a \times b \): find the first solution by listing one family and testing the other condition, then add multiples of \( ab \). From the family you get the least three-digit member, the largest three-digit member, a count in a range, or the remainder by a third divisor.

Example

Leaves 2 by 7 and 3 by 5: numbers 3, 8, 13, 18, 23 … — 23 leaves 2 by 7, so family \( 35k + 23 \).

Largest three-digit leaving 4 by 7 and 2 by 9: first solution 11, family \( 63k + 11 \), \( 63 \times 15 + 11 = \) 956.

Shortcut

When each remainder is one less than its divisor, \( N + 1 \) is a common multiple: leaves 11 by 12 and 6 by 7 → \( N = 84k - 1 \) (83, 167, 251 …).

Trap

All the options usually pass one of the tests. Always check both conditions before ticking.

10Divisibility of aⁿ ± bⁿ and "always divisible by" expressions

Concept

\( a^{n} - b^{n} \) is always divisible by \( a - b \).   \( a^{n} + b^{n} \) is divisible by \( a + b \) when \( n \) is odd.   \( a^{n} - b^{n} \) is divisible by \( a + b \) as well when \( n \) is even.   \( a^{k} - 1 \) divides \( a^{n} - 1 \) when \( k \) divides \( n \).

Products of consecutive numbers: \( k \) consecutive numbers are divisible by \( k! \). For odd \( n \): \( n^{2} - 1 \) is a multiple of 8, \( n^{3} - n \) of 24. For every \( n \): \( n^{3} - n \) is a multiple of 6 and \( n^{5} - n \) of 30.

Example

\( 15^{n} - 4^{n} \) is always divisible by \( 15 - 4 = \) 11. \( 11^{25} + 5^{25} + 3 \) by 16: \( 11 + 5 = 16 \) divides the first two terms, remainder 3. \( 2^{30} - 1 \) is divisible by \( 2^{5} - 1 = 31 \) since 5 divides 30. \( 13^{2n} - 5^{2n} \) is always divisible by \( 169 - 25 = 144 \).

Shortcut

If \( N \) divides \( a + 1 \), then \( N \) divides \( a^{\text{odd}} + 1 \): whatever divides \( 2^{24} + 1 \) also divides \( 2^{72} + 1 \).

Trap

"Largest number that always divides" means test the smallest case: \( n = 1 \) in \( 15^{2n} - 9^{2n} \) gives exactly 144, so 288 is out even though 144 divides every later value.

11The polynomial remainder theorem

Concept

When a polynomial \( f(x) \) is divided by \( (x - a) \), the remainder is \( f(a) \) — put the root of the divisor into the polynomial. For \( (ax - b) \) the root is \( \dfrac{b}{a} \); for \( (x + 2) \) it is \( -2 \). "Exactly divisible" means remainder 0, and divisibility by a quadratic \( (x - p)(x - q) \) means \( f(p) = 0 \) and \( f(q) = 0 \) — two equations for two unknowns.

What to subtract for exact divisibility: the remainder \( f(a) \). What to add: \( -f(a) \).

Example

\( x^{3} - 4x^{2} + 2x + 9 \) by \( (x - 3) \): \( 27 - 36 + 6 + 9 = \) 6.   \( x^{20} + 1 \) by \( (x + 1) \): \( 1 + 1 = \) 2.   \( 2x^{3} + x^{2} - 5x + 4 \) by \( (2x - 1) \): at \( x = \tfrac{1}{2} \), \( \tfrac{1}{4} + \tfrac{1}{4} - \tfrac{5}{2} + 4 = \) 2.

\( x^{3} + ax^{2} + bx - 12 \) divisible by \( x^{2} - 4 \): \( f(2) = 0 \) and \( f(-2) = 0 \) give \( 2a + b = 2 \), \( 2a - b = 10 \) → \( a = 3, b = -4 \).

Trap

Signs at negative roots: \( (-2)^{3} = -8 \) but \( (-2)^{4} = 16 \), and \( -(-2)^{3} = +8 \). Also, "\( x^{n} + 1 \) is divisible by \( x + 1 \)" holds only for odd \( n \).

12Special forms — long numbers, factorials, power towers

Concept

By 9 or 3: \( 10 \equiv 1 \), so use the digit sum. By 11: \( 10 \equiv -1 \), so use the alternating digit sum from the right. By 8: \( 1000 \equiv 0 \), so only the last three digits matter. By 7, 11, 13: \( 1001 = 7 \times 11 \times 13 \), so any block of six equal digits vanishes.

Factorials: \( n! \) is a multiple of \( d \) as soon as \( n! \) contains all the prime factors of \( d \) — for \( d = 5 \) from \( 5! \), for \( d = 24 \) from \( 4! \), but for \( d = 25 \) only from \( 10! \). Only the earlier terms of a factorial sum survive.

Power towers: \( a^{b^{c}} \) is read from the top; find the cycle of \( a \) and reduce the exponent \( b^{c} \) modulo the cycle length (often via \( b \equiv \pm 1 \)).

Example

1234567891011…1920 by 9: digit sum 102 → 3.   27 fours by 11: \( 14 \times 4 - 13 \times 4 = \) 4.   30 sevens by 8: \( 777 \bmod 8 = \) 1.   25 fives by 13: 24 fives vanish, remainder 5.

\( 1! + 2! + \ldots + 100! \) by 5: \( 1 + 2 + 6 + 24 = 33 \to \) 3.   \( 6! + 7! + 8! \) by 25: \( 20 + 15 + 20 = 55 \to \) 5.

\( 2^{3^{4}} \) by 5: cycle 4, \( 81 \bmod 4 = 1 \), remainder \( 2^{1} = \) 2.   \( 3^{4^{5}} \) by 7: cycle 6, \( 1024 \bmod 6 = 4 \), remainder \( 3^{4} \equiv \) 4.

Trap

The digit-sum trick belongs to 9 and 3 only — never use it for 8, 11 or 13. And a factorial vanishes by 25 only when it contains two fives.

Mind map — the whole chapter on one screen

FAQ

How many remainder questions come in SSC CGL Tier I?

Usually one or two in the Quantitative Aptitude section, and one to three in Tier II Paper I — typically a large power, a product, a successive-division item or a polynomial remainder.

What is the fastest way to find the remainder of a large power?

First reduce the base modulo the divisor. If the base becomes 1 or −1 away from a multiple of the divisor, answer at once from the parity of the exponent. Otherwise find the smallest power that leaves 1 (or −1) and reduce the exponent by that cycle length.

Is the polynomial remainder theorem in the SSC syllabus?

Yes. Questions such as "the remainder when x³ − 4x² + 2x + 9 is divided by x − 3" and "find a and b if the polynomial is exactly divisible by x² − 4" appear regularly in CGL and CHSL papers; both are solved by substituting the root of the divisor.

Do I need Fermat's or Wilson's theorem?

No. Every SSC question can be done by reducing the base and finding the cycle by hand, which is what these notes teach. Named theorems are not required and are not used in the chapter tests here.

Where can I practise these rules?

The Remainder Theorem chapter tests on TrickySSC have 100 Level-1 and 100 Level-2 questions in sets of 25, in English and Hindi, each with a step-by-step solution that names the rule used.