Quant

Remainders Advanced: Chinese Remainder Theorem, Fermat's Little Theorem, Pattern Method

Advanced remainder problems show up as TITA questions, so they carry no negative marking and reward a prepared aspirant. This guide teaches three reliable methods (CRT by successive substitution, Fermat's Little Theorem, and the cyclicity pattern method) with several fully worked, verified examples and a recognition cue for choosing the right tool.

O
Optima Learn EditorialReviewed by the editorial team
Fact-checked
Published June 24, 2026
Remainder theorem CAT advanced methods: Chinese Remainder Theorem, Fermat's Little Theorem, and the cyclicity pattern method, shown as three numbered method cards.
A wide landscape hero with a blue CAT 2026 Quant pill, the headline "Advanced Remainders" with Remainders in red, a TITA no-negative-marking tag, and three colour-coded method cards on the right.

Here is the part nobody tells you. The hardest remainder questions in CAT are also the safest marks on the paper. Advanced remainder problems almost always arrive as TITA, the type-in-the-answer format with no negative marking. A wrong attempt costs nothing, and a correct one pays a full mark while the rest of the hall skips the question on sight. That gap is the whole point of this guide on remainder theorem CAT advanced techniques. The math looks scary, so most aspirants leave the marks on the table. You will not, because three reliable methods cover almost everything the exam throws at this topic.

The three are the Chinese Remainder Theorem for many-divisor questions, Fermat's Little Theorem for a large power divided by a prime, and the pattern method for any power. Get the recognition cue right and each one runs in under a minute. We will work several examples per method, and every step is verified, because one slip in modular arithmetic flips the answer.

Drill advanced remainder and number theory questions with full solutions on the Optima Learn question bank.

Open the Question Bank

Why hard remainders are safe marks

Run the expected-value math. A wrong type-in carries no penalty, so attempting a TITA remainder can only help your score or leave it unchanged. Compare that with a tough multiple-choice question, where a wrong tick subtracts a mark. The questions that look most forbidding often carry the friendliest risk profile, which is exactly backwards from how aspirants treat them.

The catch is reliability. A guess on a TITA remainder almost never lands, because the answer space is wide, so the edge comes from a method you trust under a clock. That is what separates the aspirants who clear the Quant cut-off from those who stall, and it is the same edge you build when you sharpen your Quant TITA strategy across the whole section. Each method below targets a specific question shape, so read all three once, then practise the recognition step. You can pull fresh remainder sets from the Optima Learn practice question bank after each section.

Method 1: Chinese Remainder Theorem by successive substitution

The Chinese Remainder Theorem CAT questions hand you several remainders against several divisors and ask for the original number. A typical prompt reads: a number leaves remainder 2 on division by 3, remainder 3 on division by 5, and remainder 2 on division by 7. Find the smallest such number. The formula version exists, but under exam pressure successive substitution is faster and far harder to fumble.

The idea is to satisfy one condition, then the next, stepping forward in multiples of the running LCM so you never break a condition you already met. Build the answer one divisor at a time.

Method 1 worked example A

Remainders 2, 3, 2 by divisors 3, 5, 7

Find the smallest positive integer N with N leaving remainder 2 when divided by 3, remainder 3 when divided by 5, and remainder 2 when divided by 7.
Step 1. Satisfy mod 3, then add mod 5.
Numbers leaving remainder 2 by 3: 2, 5, 8, 11, 14. Which leaves remainder 3 by 5? Check 8: 8 = 5 + 3, yes. Future matches step by LCM(3, 5) = 15, giving 8, 23, 38.
Step 2. Add mod 7.
From 8, 23, 38, which leaves remainder 2 by 7? Check 8: 8 = 7 + 1, remainder 1, no. Check 23: 23 = 21 + 2, remainder 2, yes. Answer: 23.
Step 3. Verify and generalise.
23 by 3 leaves 2, by 5 leaves 3, by 7 leaves 2. All three hold. The full family is 23 + 105k, since LCM(3, 5, 7) = 105. Smallest: 23.

Notice you never wrote a single equation. You filtered a list, then stepped forward by the running LCM, which is where this beats the formula approach on time.

Method 1 worked example B

Remainders 1, 2, 3 by divisors 4, 5, 7

Find the smallest positive integer N with N leaving remainder 1 when divided by 4, remainder 2 when divided by 5, and remainder 3 when divided by 7.
Step 1. Satisfy mod 4, then add mod 5.
Numbers leaving remainder 1 by 4: 1, 5, 9, 13, 17, 21. Which leaves remainder 2 by 5? Check 17: 17 = 15 + 2, yes. Next matches step by LCM(4, 5) = 20, giving 17, 37, 57.
Step 2. Add mod 7.
From 17, 37, 57, which leaves remainder 3 by 7? Check 17: 17 = 14 + 3, remainder 3, yes on the first try. Answer: 17.
Step 3. Verify.
17 by 4 leaves 1, by 5 leaves 2, by 7 leaves 3. All hold. Full family is 17 + 140k, since LCM(4, 5, 7) = 140. Smallest: 17.

Working with the running LCM is the same fluency you build when you nail HCF and LCM tricks, so the two topics reinforce each other. Always pin the answer down with a quick verification, since one mis-read remainder upstream sends the whole chain wrong.

Pro tip: start from the largest divisor

When the divisors differ in size, begin successive substitution with the largest one. Its list is the sparsest, so each later filter has fewer candidates to test. Starting from a small divisor leaves you wading through a long list before the rare matches appear.

Method 2: Fermat's Little Theorem for a power by a prime

Fermat little theorem CAT 2026 questions ask for the remainder of a large power divided by a prime. The theorem states that for a prime p and a base a that shares no common factor with p, a raised to the power (p minus 1) leaves remainder 1 on division by p. In short form, a^(p-1) is congruent to 1 mod p. Two conditions matter: the divisor must be prime, and the base must not be a multiple of it. Check both before you reach for it.

The payoff is that you collapse a giant exponent. You reduce the exponent modulo (p minus 1), because every full block of (p minus 1) powers contributes a factor of 1. What remains is a small power you can compute by hand.

Method 2 worked example A

Remainder of 3 to the power 100, divided by 7

Find the remainder when 3 raised to the power 100 is divided by 7.
Step 1. Check the conditions.
7 is prime, and 3 is not a multiple of 7, so Fermat applies. With p = 7, p minus 1 = 6, so 3 to the power 6 leaves remainder 1 by 7.
Step 2. Reduce the exponent mod 6.
100 = 6 times 16 + 4, so 3 to the power 100 is (3 to the power 6) to the power 16, times 3 to the power 4. The first part is congruent to 1.
Step 3. Compute the small power.
What is left is 3 to the power 4 = 81. Now 81 = 7 times 11 + 4, remainder 4. Answer: 4.

One block of six powers vanishes into a 1, and only the leftover exponent 4 does any work. That collapse is the whole advantage over raw multiplication.

Method 2 worked example B

Remainder of 7 to the power 85, divided by 11

Find the remainder when 7 raised to the power 85 is divided by 11.
Step 1. Check the conditions.
11 is prime, and 7 is not a multiple of 11, so Fermat applies. Here p minus 1 = 10, and 7 to the power 10 leaves remainder 1 by 11.
Step 2. Reduce the exponent mod 10.
85 = 10 times 8 + 5. So the question collapses to 7 to the power 5 by 11.
Step 3. Compute 7 to the power 5 step by step.
7 squared = 49, and 49 = 44 + 5, remainder 5. So 7 to the power 4 is congruent to 5 squared = 25, and 25 = 22 + 3, remainder 3. Then 7 to the power 5 is 3 times 7 = 21, and 21 = 11 + 10, remainder 10. Answer: 10.

Reducing inside each step, rather than multiplying out 7 to the power 5 = 16807 first, keeps the numbers tiny and the arithmetic clean on every modular question.

Watch the Fermat conditions

The theorem fails the moment a condition breaks. Two cases catch aspirants out:

  • Composite divisor. For a power divided by 15 or 12, p is not prime, so Fermat does not apply directly. Use the pattern method, or Euler's totient if you know it.
  • Base shares a factor. For 14 to the power 50 by 7, the base 14 is a multiple of 7, so the remainder is simply 0. Fermat needs the base coprime to p, so check before you apply.

Method 3: the pattern method for powers

The pattern method, also called cyclicity remainders CAT logic, works for any divisor, prime or composite. You list the remainders of successive powers until they repeat, read off the cycle length, then reduce the exponent modulo that length. It is the safe default because it never depends on a condition you might misapply.

The one care point is indexing. The cycle starts at the first power, so a remainder of 0 after reducing the exponent points to the last entry in the cycle, not a missing one. Map positions carefully and the method is foolproof.

Method 3 worked example A

Remainder of 2 to the power 54, divided by 5

Find the remainder when 2 raised to the power 54 is divided by 5.
Step 1. List remainders until they repeat.
2 to the power 1 leaves 2, 2 squared = 4 leaves 4, 2 cubed = 8 leaves 3, 2 to the power 4 = 16 leaves 1, then 2 to the power 5 leaves 2 again. The cycle is 2, 4, 3, 1 with length 4.
Step 2. Reduce the exponent mod 4.
54 = 4 times 13 + 2, so 54 mod 4 = 2. The second entry in the cycle 2, 4, 3, 1 is 4. Answer: 4.

The pattern method handles composite divisors that Fermat cannot, which earns it the default slot. The next example uses a divisor of 4, where the cycle is shorter still.

Method 3 worked example B

Remainder of 7 to the power 99, divided by 4

Find the remainder when 7 raised to the power 99 is divided by 4.
Step 1. Reduce the base first.
7 leaves remainder 3 by 4, so 7 to the power 99 behaves like 3 to the power 99 by 4. Reducing the base early keeps the listing small.
Step 2. Find the cycle.
3 to the power 1 leaves 3, 3 squared = 9 leaves 1, then it repeats. The cycle is 3, 1 with length 2.
Step 3. Reduce the exponent mod 2.
99 is odd, so 99 mod 2 = 1, pointing to the first entry, which is 3. Answer: 3.

The pattern method also answers units-digit questions, since a units digit is a remainder by 10. For the units digit of 3 to the power 123, the last digits cycle 3, 9, 7, 1, and 123 mod 4 = 3 gives the third entry, 7. One tool, many disguises, worth drilling across the CAT preparation guides until it is automatic.

Which method, and when

The recognition cue is the whole game. Read the question stem and match it to a shape before you compute. The table below is the decision rule to rehearse until it is instinct.

Question shapeMethodCue word or signal
Several remainders, several divisors, find the numberChinese Remainder TheoremMultiple divisors stated together
Large power, divided by a primeFermat's Little TheoremPrime divisor, base coprime to it
Large power, any divisor (prime or composite)Pattern methodComposite divisor, or units digit asked

When two methods both apply, pick the faster one. For a power by a prime, Fermat skips the listing because the cycle length divides (p minus 1). For a composite divisor, only the pattern method is safe, so default to it whenever you feel unsure about a Fermat condition.

This selection habit, reading the cue before computing, is the same discipline that powers harder topics like clocks and calendars, where the answer also hinges on a remainder by a fixed cycle.

Traps that flip the answer

Most lost marks on advanced remainders come from a small set of slips, not from the method itself. Each one turns a correct setup into a wrong type-in.

The four traps to check
  • Applying Fermat to a composite divisor. The theorem needs a prime p. For a divisor like 12 or 15, fall back on the pattern method instead.
  • Forgetting the coprime check. If the base shares a factor with the prime, the remainder is 0, not a Fermat result. Confirm the base is coprime first.
  • Mis-indexing the cycle. An exponent that reduces to 0 mod the cycle length points to the last entry of the cycle, not to nothing.
  • Breaking an earlier condition in CRT. Always step forward by the running LCM, so a later filter never undoes a remainder you already secured.

Make advanced remainders a guaranteed mark

A free strategy session with an Optima Learn mentor reviews your number theory accuracy, your method-recognition speed, and the TITA questions you currently skip, then builds a plan around your real mock data.

Claim My Free Number Theory Strategy Call

Drill each method on the cue that triggers it and recognition becomes reflex before the exam. Once you can tell a Chinese Remainder Theorem question from a Fermat one at a glance, this whole family of TITA questions shifts from a skip to a reliable two or three marks. To see how a stronger number theory game moves your percentile, run the numbers through the CAT score predictor after your next mock.

Common questions on advanced remainders

Why are advanced remainder questions worth more than they look?
Most hard remainder questions in CAT are TITA, so there is no negative marking on a wrong attempt. The downside of a guess is zero, and the upside of a clean method is a full mark. Aspirants skip these because they look intimidating, which means the few who carry a reliable method face less competition for the same scaled score. Once you can recognise which of the three methods a question wants, the difficulty drops and the expected value of attempting goes up sharply.
When should I use the Chinese Remainder Theorem in CAT?
Use it when a question gives several remainders against several divisors and asks for the original number, or its remainder by the product of those divisors. The phrasing usually reads like a number leaves remainder 2 on division by 3, remainder 3 by 5, and remainder 2 by 7. You do not need the formula version under exam pressure. Successive substitution, where you build the answer one divisor at a time and step up by the running LCM, is faster and harder to slip on.
What condition does Fermat's Little Theorem need to hold?
Fermat's Little Theorem says that a raised to the power (p minus 1) leaves remainder 1 when divided by a prime p, but only when the base a and p share no common factor. The divisor must be prime, and the base must not be a multiple of that prime. If the divisor is composite, the theorem does not apply directly and you fall back on the pattern method or Euler's totient. Always check both conditions before you use it, because a careless application is the classic trap.
How do I pick between the pattern method and Fermat's theorem?
The pattern method works for any divisor, prime or composite, so it is the safe default for a single power. List the remainders of successive powers until they repeat, note the cycle length, and reduce the exponent modulo that length. Fermat's theorem is faster when the divisor is a prime, because the cycle length divides (p minus 1) and you skip the listing. For small divisors the pattern method costs only a few seconds and removes any risk of misapplying a condition.
From the Optima Learn product

Drill these Quant concepts on real PYQs

20,000+ tagged CAT Quant PYQs, sorted by difficulty and topic.

More from Quant

Continue reading

View all articles →