Worked examples6 min read

Remainders for CAT: Cyclicity, Fermat, Euler and Wilson, with Real Questions

By Team ThinkCAT · ·

Short answer: To find the remainder of a large power, find the smallest power that leaves remainder 1 (or −1) and reduce the exponent with it. Fermat and Euler tell you such a power exists; cyclicity and the 1001 = 7 × 11 × 13 trick usually find a smaller one faster. All three CAT 2024 remainder questions fall in under a minute this way.

Key points

  • Remainders multiply: the remainder of a product equals the product of the remainders, reduced again.
  • Fermat: a^(p−1) leaves remainder 1 when divided by a prime p that does not divide a. Euler extends this to any divisor n using φ(n).
  • Look for a power that leaves remainder −1. Since 1001 = 7 × 11 × 13, 10³ leaves remainder −1 when divided by 7, 11 or 13.
  • Wilson's theorem and the Chinese Remainder Theorem are worth knowing, but none of the 37 Number Systems questions in the bank needed Wilson.

Remainder questions look scary (" divided by 11") and are usually short. Each of the three CAT 2024 slots had one, and ThinkCAT's bank tags all three as Easy. This guide gives you the small set of results you actually need, shows where each comes from, and then solves those three questions.

First, a realistic sense of weight. Number Systems as a whole accounts for 37 of the 612 QA questions in the 24 CAT papers from 2017 to 2025 in ThinkCAT's question bank, about 1 or 2 per slot. Pure remainder questions are a small slice of that. Learn this in a few focused sessions. Don't spend weeks on it.

The one rule everything rests on

Write to mean " leaves remainder when divided by ". Then:

Why: and , so . Every term except is a multiple of .

Two consequences do most of the work:

  • Powers: . You can replace the base by its remainder at any time. For example, .
  • Negative remainders are allowed. . Choosing when you can is the single biggest time saver, because is just .

Finding the cycle: the core method

For any base that shares no factor with , some power leaves remainder 1. Once you find it, the remainders repeat with period . Then:

You can find in three ways, roughly from fastest to slowest in the exam.

1. Look for a small power that gives 1 or −1

Compute reduced modulo until you hit 1 or . For small divisors this takes seconds. If you reach at power , then .

A useful fact: . So modulo 7, 11 and 13. Any "power of 10 divided by 7, 11 or 13" question falls to this one line.

2. Fermat's little theorem (prime divisors)

If is prime and does not divide , then

The reason, briefly: the numbers leave the remainders in some order (no two can match, or would divide their difference). Multiply all of them: . Cancel , which does not divide, and you get the result.

Fermat guarantees that a cycle length of works. The true cycle can be shorter, but it always divides . For 11, the cycle length must be 1, 2, 5 or 10, so check and first.

3. Euler's theorem (any divisor)

For any , counts the numbers from 1 to that share no factor with . If , then

For example, , and .

Euler's theorem says that if and share no factor, then

The proof is the same as Fermat's, using only the numbers coprime to . Fermat is the special case .

Example: divided by 9. Here , and , so .

Euler matters when the divisor is not prime. When it is prime, Fermat is the same thing, and a quick search for a shorter cycle is often faster still.

CAT 2024's three remainder questions, solved

Slot 1: divided by 7

CAT 2024 Slot 1, QA Q1. Options: 6, 1, 4, 3.

Use . Write :

Answer: 4 (option C).

With Fermat instead: , the cycle divides 6, and , so . Same answer, one more step.

Slot 2: divided by 11

CAT 2024 Slot 2, QA Q2. Options: 10, 1, 6, 5.

Fermat says the cycle length divides 10, so test first: . The cycle is 5, not 10.

, so .

Answer: 5 (option D). Using the full Fermat cycle of 10 gives the same result (), but checking the divisors of is a habit that saves time on harder bases.

Slot 3: divided by 13

CAT 2024 Slot 3, QA Q7. Options: 9, 5, 8, 4.

Again, . Write :

Answer: 9 (option A).

All three questions reward the same move: find a power that gives , then reduce the exponent. Once you have it, none of them needs more than 30 seconds.

Wilson's theorem: know it, don't expect it often

For a prime :

The reason: in , every number pairs off with its own "inverse" (the number it multiplies with to give remainder 1). Only 1 and are their own inverses. All the pairs multiply to 1, leaving .

A consequence that turns up in practice: since and ,

For example, divided by 29 leaves 28, and divided by 29 leaves 1.

Be realistic about Wilson. None of the 37 Number Systems questions in the bank from 2017 to 2025 needed it. Spend five minutes learning it and move on.

Chinese Remainder Theorem: for composite divisors

When the divisor splits into coprime parts, find the remainder for each part and then combine them. If with coprime, there is exactly one remainder modulo that matches both.

Example: divided by 77.

  • Modulo 11: (from the Slot 2 question above).
  • Modulo 7: by Fermat, and , so .

Now list the numbers that are (5, 16, 27, 38, …) and check each one modulo 7: 5 → 5, 16 → 2, 27 → 6. So the remainder is 27.

In the exam, listing like this is faster than solving the CRT equations formally, because CAT divisors are small.

The same splitting handles a base that shares a factor with the divisor, where Euler fails. For example, take divided by 12. It is a multiple of 4. Divided by 3, it leaves 1, because and 50 is even. The only remainder modulo 12 that is a multiple of 4 and is is 4.

What CAT actually asks in Number Systems

Pure "find the remainder" questions are a small part of the topic. More often, remainders show up inside other questions. For example, CAT 2022 Slot 1, QA Q1 asks for the largest number dividing every value of , which is a question about what stays constant across a family of numbers. The other big clusters in the bank are factors and divisors, integer solutions, and digit puzzles. For the factor side, see factors, multiples and highest powers in factorials.

A practical drill: open the Number Systems question page and solve every remainder and divisibility question there without a pen first. Write only when you need to track a cycle. If a question takes you more than 90 seconds, note which step slowed you down. It is usually not spotting a power early enough.

In the real CAT papers

37 QA questions on Number Systems appeared in the 24 CAT papers from 2017 to 2025 in ThinkCAT's question bank, 21 of them TITA (no negative marking).

Questions per year. 2017–2019 had two slots a year; 2020 onwards had three.

The CAT questions used in this article

Practise real CAT questions on Number Systems

Every question here is from a past CAT paper (2017–2025), with the official answer and a worked solution.

Practise these questions

Frequently asked questions

Do I need to memorise φ(n) for many numbers?

No. Learn the formula φ(n) = n(1 − 1/p₁)(1 − 1/p₂)… over the distinct primes of n. It takes a few seconds for any CAT-sized divisor, for example φ(36) = 36 × 1/2 × 2/3 = 12.

Can I use the on-screen calculator for remainder questions?

Only for small steps, such as reducing 243 modulo 11. The calculator cannot handle 3^333 directly, and the cycle method is faster than any key sequence. Do these in your head or on the scribble pad.

Written and checked by Team ThinkCAT. Question counts come from ThinkCAT’s bank of real CAT papers; exam rules and admission criteria are taken from the official sources listed on each page. Found a mistake? Write to thinkcat.founders@gmail.com.

Share Guide

Read next

All articles