# Remainder Theorem : Calculate Remainder Questions Quickly

Learning to find the remainder of a given number, fraction or expression (not facial) is a very important step towards cracking CAT. CAT aspirants have to confront ‘Remainder Theorem’ in numbers theory in Quantitative Aptitude and most of them invariably stumble without the requisite preparation.

Cracking number system, hence, is quintessential to eventually cracking CAT as good percentage of the questions from quant are supposed to appear from this chapter (direct or application based).

Considering that Remainder Theorem is the corner stone for most of the concepts to follow while solving number system questions, it is important that you master it. With good fundamentals and knowledge of the following theorems, be assured that ‘finding the remainder’ would be fun.

In this article we shall do a thorough review of Remainder Theorems and its concepts.

## Starting with: The Basics of Remainder

Before dwelling into ‘RT’, it’s essential to be aware of some basics about remainder.

Consider N = DQ + R, where D is non-zero, Q and R are integers and 0≤ R< D.

In the foregoing equation; N is dividend, D is divisor, Q is quotient and R is the remainder. When R is zero, we say that the number (N) is completely divisible by D.

## Ground Rules:

The following three ground rules shall be essential weapons of your armory while confronting Remainder questions in the future.

1. Remainder [(a x b) / c] = Remainder [a / c] x Remainder
2. Remainder [(a + b) / c] = Remainder [a / c] + Remainder
3. Remainder [(a – b) / c] = Remainder [a / c] – Remainder

## Prime Numbers: The prime question

Before we get to business end of this article, it’s essential that we talk about prime numbers since all the theorems are derived from prime numbers and its concepts in some way.

Prime numbers are all those numbers which are divisible only by 1 and itself. There are infinite prime numbers and they do not follow a fixed rule or Pattern of Occurrence. To this day, mathematicians have made multiple futile attempts to arrive at a single formula to represent all the prime numbers.

As we go along you will find many tit-bit’s about primes (Hereinafter referred to as “TB”).

Four important remainders theorems are:

• Euler’s theorem
• Fermat little theorem
• Wilson theorem
• Chinese ‘RT’

## 1) Euler’s theorem

Euler’s theorem states that if p and n are coprime positive integers, then ———> P φ (n) = 1 (mod n), where Φn=n (1-1/a) (1-1/b)….

Before we move any further, let us understand what mod is. Mod is a way of expressing remainder of a number when it is divided by another number.  Here φ (n) (Euler’s totient) is defined as all positive integers less than or equal to n that are coprime to n. (Co-prime numbers are those numbers that do not have any factor in common.)

For example ———-> 24=23 x 3

———-> Thereofire, we get 24 x (1-1/2) (1-1/3) = 8

———-> which means that there are 8 numbers co-prime to 24.

They are 1, 5, 7, 11, 13, 17, 19, 23.

### Let us understand this theorem with an example:

Q.1) – Find the remainder of (7^100) / 66

As you can see, 7 and 66 are co-prime to each other.

Therefore, Φ 66 = 66 x (1-1/2) x (1-1/3) x (1-1/11) = 20

So,  (7^100) = 1(mod 66)

TB – Mathematicians have been very keen to arrive at a formula which gives some prime numbers, Here is one of them. f (n) = n2- n+1 for n = 2, 3,….. 40, but f (41) is composite.

## 2) Fermat little theorem

Fermat’s theorem is an extension of Euler’s theorem. If, in the above theorem, n is a prime number then, pn-1 =1(mod n)

Consider an example;

Q.2) Find remainder of 741 is divided by 41.

Here, 41 is a prime number.

Therefore, [7 40 x 7 /41] (By Fermat’s theorem)

which is equal to 7.

TB – Wieferich prime: is a prime number p such that p2 divides 2p − 1 – 1 relating with Fermat little theorem, Fermat’s little theorem implies that if p > 2 is prime, then 2p − 1 – 1 is always divisible by p

## 3) Wilson theorem

Wilson’s theorem states that a number ‘n’ is prime if and only if  (n-1)! + 1 is divisible by n

For example –

Q.3) Find the remainder when 30! Is divided by 31.

Here, 31 is a prime number.

From Wilson’s theorem, we have (31-1)! /31 = – 1

Hence, 30 is the remainder. [whenever there is a negative remainder, subtract it from the divisor and you get the remainder]

Let us have a look another example.

Q.4) Find the remainder when 29! Is divided by 31.

You can write 29!/31 as ———> 30 x 29! / 30 x 31 (multiplying numerator and denominator by 30)

Therefore, 30! / 30 x 31 =  1

We have already found from Wilson theorem 30! /31 is 30. 30 in the denominator cancels out, hence the remainder is 1.

From the foregoing examples, the derivative arrived at from this theorem is, (P-2)! = 1(mod P)

## 4) Chinese Remainder Theorem

Let’s understand this theorem with an example:

Q.5) – Rahul has certain number of cricket balls with him. If he divides them into 4 equal groups, 2 are left over. If he divides them into 7 equal groups, 6 are left over. If he divides them into 9 equal groups, 7 are left over. What is the smallest number of cricket balls could Rahul have?

Let N be the number of cricket balls.

N = 2(mod4) ————–> equation 1

N = 6(mod7) ————–> equation 2 &

N = 7(mod9) ————–> equation 3.

From N=2(mod4) we get, N=4a+2

Substituting this in equation 2, we get the following equation:

4a + 2 = 6(mod7)

Therefore, 4a = 4(mod7)

Hence, 2 x 4a = 2 x 4(mod7)

This gives us a = 1(mod7)

Hence a = 7b+1.

Plugging this back to N=4a+2, we get….

N = 28b + 6

Substituting this to equation 2;

28b + 6 = 7(mod9)

28b = 1(mod9)

Therefore, b=1(mod9)

Hence b = 9c + 1.

Substituting this back to equation N=28b+6;

N = 28(9c+1) + 6

N = 252c + 34

The smallest positive value of N is obtained by setting c=0.

It gives us N = 34

TB – All prime numbers greater than 3 can be expressed as 6K+1 or 6K-1, this is another important result. You would be using this result a lot when it comes to number system problems.

## 1) Chicken McNugget Theorem

Yes, these Chicken McNuggets have a theorem on their name. What do you have?

Q.6) In a certain game, the only points one can score is either 7or 9. What is the highest number one cannot obtain in this game?

This problem involves the application of Chicken McNugget Theorem.  The theorem says the largest residue one can ever obtain from positive integers ‘p’ and ‘q’ is given by (pq – p – q).

So the highest number is [(7 x 9) - 7 - 9] = 47.

## 2) Concept of Cyclicity

Q.7) If n is a positive integer, what is the remainder when [7(8n+3) + 2] is divided by 5?

This problem can be easily solved with concept of cyclicity.

You should realize that unit digit of all numbers raised to powers start repeating itself.

For example, the cyclicity of 7 is 4. This means that the unit digits repeat after on every 4th power. See for yourself below:

71 = 7                              75 =7                          79=7

42 = 9                              76= 9                          710=9

73 = 3                              77 =3                          711=3

74 = 1                              78 =1

In this question, consider n=1.

You are looking at unit digit of 7^11 which will be 3 from concept of cyclicity.

Therefore, last digit will be 5 for [7(8n+3) + 2]. Hence it’s completely divisible by 5.

## 3) Concept of negative remainder

Remainder can never be negative; its minimum value can only be 0.

Consider an example of -30 / 7. Here, remainder is 5.

It would not be (-28 – 2 / 7), but [(-35+5)/7]

When you divide, you will get remainder of -2. Since remainder can never be negative, we subtract it from quotient, here 7 – 2 = 5.

Negative remainder is useful when you are trying to solve a problem with higher power.

Consider an example…….

Q.8) Find the remainder for 7^7^7 is divided 32

32 can be factored into 8 and 4,

Therefore, we will divide the question into two parts:

Remainder [7^7^7/8] x Remainder [7^7^7/4]

which gives: Remainder [(-1) ^7^7/8] x Remainder [3^7^7/4] [(-1) raised to odd power is -1 and raised to even power is 1]

Remainder [(-1)/8] x Remainder [(-1)/4]…. which gives

———-> 7 x 3 = 21

Conclusion

Needless to say that above discussed concepts are to be used as a guiding light and not as a walking stick. With possibilities galore, one has to practice these concepts so as to sharpen the weapon and make it an essential part of one’s armory.

Try applying these concepts whenever you come across Remainder Theorem problems. If you do so, you will save crucial time in any competitive exam.

Financial Management (With CD)...
(1)
Marketing Management : A South Asian Perspective 14th Edition...
(1)
Crack – GD / PI / WAT for MBA Admissions : CAT / XAT / IIFT / FMS / SNAP / NITI...
(0)
50 Cool Stories 3000 Hot Words: Vocabulary Building for GRE/MBA/SAT...
(1)
Number System for the CAT 2nd Edition...
(0)
Koncepts of Numbers for CAT, GMAT, XAT, CMAT and Other Quantitative Aptitude Exams...
(0)
A MODERN APPROACH TO VERBAL AND NON VERBAL REASONING Revised Edition...
(0)
Quantitative Aptitude Quantum CAT Common Admission Test for Admission into IIMs 7th E...
(0)
How To Become A Human Calculator?: With The Magic Of Vedic Maths 1st Edition...
(0)
The Intelligent Investor...
(1)
(1)
My Life, My Rules: Stories of 18 Unconventional Careers...
(1)
How to Prepare for Verbal Ability and Reading Comprehension for the CAT Common Admiss...
(1)
How to Prepare for Data Interpretation for the CAT Common Admission Test 1st Edition...
(0)
How to Prepare for Quantitative Aptitude for the CAT Common Admission Test 5th Editio...
(1)

1. find out the highest no that can not be find out with help 6,9,20 with help of chicken magnuts thorem .

2. hi the answer for 7^7^7 mod 32 should be 23 and not 21

3. sir….my one of doubt is ….Euler is only valid for co prime nos……as 7 and 66 are co.prime no and what if…..they are no co prime

4. n=98^13+99^13+101^13+102^13.Find remainder when n divided by 25.
here by Eulers phi(n) comes out to be 16…so how can we solve for lower value of power than 16…

5. @author: Both of the footer ‘#’ notes under Euler’s theorem are inaccurate.
Although CAT wouldn’t quite delve as deep into remainders topic to touch these points, you might want to reexamine the points for publishing.

• Hi, I have never added those footer notes in my original article. I dont know how these have propped up.

Can someone explain ?

Edited version has many unclear points which is difficult which I cant comprehend myself !!

• Something went wrong during the editing phase and hence, these errors. We apologize to Bharadwaj bhai and to our readers for these errors.

I have reverted it back to Bharadwaj bhai’s original article.

CareerAnna Team

6. Q.1) – Find the remainder of (7^100) / 66

As you can see, 7 and 66 are co-prime to each other.

Therefore, Φ 66 = 66 x (1-1/2) x (1-1/3) x (1-1/11) = 20

So, (7^100) = 1(mod 66)
isme 20 nikal ke fayda kya hua?

• Hi,

It means to say that if 7^20 divided by 66 is `1`.

so 7^40/66 is also 1

7^60/66 is also 1

7^80/66 is also 1

7^100/66 is also 1

I hope you got the catch

7. kuch samajh me nahi aya..thanks depress karne ke liye