Beruflich Dokumente
Kultur Dokumente
https://www.handakafunda.com/remainders-quantitative-aptitude-cat-exam-preparation/
Figuring out the last digit is the same as figuring out the remainder of a number
when divided by 10, but I guess you already know that. Figuring out the last two
digits is the same as figuring out the remainder of a number when divided by 100.
However, if you wish to figure the remainder when the divisor is not 10 or 100, I
suggest you read on.
Funda 1 of Remainders:
Basic idea of remainders can be used to solve complicated problems.
There is nothing special or unique about this idea. At first glance it seems like
something really obvious. But it is its usage that makes it special and helpful in
questions related to remainders.
Let us look at couple of examples to see how this can be used effectively. In the first
example we will see the idea that will work in cases of ab and in the second example
we will see the idea that will work in case of
So, we need to reduce 2627 as 3k or 3k+1 or 3k+2. If we can do that, we will know the
answer. So our
Note: As you can see in solving this example, we have used the concept of negative
remainder. In some cases, using the negative remainder can reduce your calculations
significantly. It is recommended that you practice some questions using negative
remainders instead of positive ones.
Funda 2 of Remainders:
While trying to find out the remainder, if the dividend (M) and the divisor (N) have a
factor (k) in common; then
Multiply the resulting remainder with the common factor to get the actual
remainder
Funda 3 of Remainders:
While trying to find out the remainder, if the divisor can be broken down into smaller
co-prime factors; then
Note: If you wish to read more about it and how it happens, I suggest you read about
the Chinese Remainder Theorem.
Cyclicity of Remainders
Friday, February 15th, 2013
Cyclicity of Remainders
In this post I would like to discuss some of the really fundamental ideas that can be
used to solve questions based on remainders. If you have just started your
preparation for CAT Exam, you might find this article helpful. On the other hand, if
you are looking for some advance stuff, I suggest that you check out some of my
posts from last year on the same topic.
First of all,
What I am trying to say above is that if you divide a^n by d, the remainder can be
any value from 0 to d-1.
Not only that, if you keep on increasing the value of ‘n’, you would notice that the
remainders are cyclical in nature. What I am trying to say is that the pattern of
remainders would repeat. Let me try to clarify this with an example:
As you can see from above that the remainder when 4^n is divided by 9 is cyclical in
nature i.e. the remainders obtained are 4,7,1, 4,7,1, 4,7,1 … and so on. They will
always follow the same pattern.
Funda 1: a^n when divided by d, will always give remainders which will have a
pattern and will move in cycles of ‘r’ such that r is less than or equal to d.
With the help of the above idea, you can solve a large number of remainder
questions. All you need to do is to figure out the cycle / pattern in which the
remainders are moving, and it will lead you to the answer.
From the calculations that I did in the beginning of the post, I know that:
So, I need to express 143 = 3k + x and that would lead to the answer.
n the questions where you have to find out the remainder of a^n by d, as a rule you
can follow this process:
Step 1: Find out the cycle of remainders when a^n is divided by d and make a list of
those values.
Step 2: Find out the cyclicity, say ‘r’
Step 3: Find out the remainder when the power is divided by the cyclicity
i.e. Rem[n/r] = p
Step 4: The answer would be the pth value in the list. {If p = 0, it would be the last
value in the list}
Funda 2: While trying to find the cycle / pattern of remainders when a^n is
divided by d, just multiply the previous remainder with ‘a’ to get the next value.
If you notice in the example mentioned in the beginning of this post, I have
calculated 4^5 and 4^6 and then found out the remainder. As you might have
realized by now that it is a long and tedious process. But the good part is – you can
avoid that tedious process by just multiplying the previous remainder. In that
example instead of calculating 4^5 and then dividing by 9, I could have just
multiplied the previous remainder, which was 4 with 4 to get 16, which would have
directly given me a remainder of 7.
Eg: Find out the cyclicity of remainders when 3^n is divided by 11.
Let us try and solve a slightly more complicated problem with this idea.
Step 1: Find out the cycle / pattern of remainders when 4^n is divided by 7.
Rem [4^1 / 7 ] = 4
Rem [4^2 / 7 ] = 2
Rem [4^3 / 7 ] = 1
I hope you found this post useful. Suggestions for future posts are more than
welcome.
Remainders Advanced
Friday, February 15th, 2013
REMAINDERS ADVANCED
In previous posts, we have already discussed how to find out the last two
digits and basic ideas of remainders. However, there are theorems by Euler, Fermat &
Wilson that make calculation of remainders easier. Let’s have a look at them.
Funda 1 – Euler:
A very common mistake that students tend to make while using Euler’s Theorem in
solving questions is that they forget M and N have to be co-prime to each other.
There is another set of students (like me in college) who don’t even understand what
to do with the theorem or how to use it solving questions. Let us look at couple of
examples in which Euler’s Theorem is used.
Funda 2 – Fermat:
If you notice, the three statements above are saying the exact same thing but in a
different way. It is important to keep all three in mind because sometimes it becomes
a little difficult to analyze which interpretation of Fermat’s little theorem is to be
used.
Because, if ‘N’ is prime then or the Euler’s Totient Function will always be (N-1)
Funda 3: Wilson
Sometimes people find the history behind Wilson’s theorem to be more interesting
than the theorem itself. Actually, it was know to the great Muslim
polymath Alhazen approximately seven and a half centuries before John Wilson was
born. Alhazen, being the great scientist that he was, never bothered to prove it and
tried to regulate the floods in river Nile. After being ordered by Al-Hakim bi-Amr
Allah, the sixth ruler of the Fatimid caliphate, to carry out this operation, Alhazen
quickly perceived the impossibility of what he was attempting to do, and retired from
engineering. Fearing for his life, he feigned madnessand was placed under house
arrest, during and after which he devoted himself to his scientific work until his
death.
The English mathematician, John Wilson, stated it in the 18 th century but he could not
prove it either. Actually Wilson was a student of Edward Waring, who announced the
theorem in 1770. None of them could prove it. Lagrange proved it in 1771. There is
evidence that Leibniz was also aware of the result a century earlier, but he never
published it.
I think I will end the history lesson here and continue with the mathematical part.
Remainders Advanced
Friday, February 15th, 2013
REMAINDERS ADVANCED
In previous posts, we have already discussed how to find out the last two
digits and basic ideas of remainders. However, there are theorems by Euler, Fermat &
Wilson that make calculation of remainders easier. Let’s have a look at them.
Funda 1 – Euler:
A very common mistake that students tend to make while using Euler’s Theorem in
solving questions is that they forget M and N have to be co-prime to each other.
There is another set of students (like me in college) who don’t even understand what
to do with the theorem or how to use it solving questions. Let us look at couple of
examples in which Euler’s Theorem is used.
Funda 2 – Fermat:
If you notice, the three statements above are saying the exact same thing but in a
different way. It is important to keep all three in mind because sometimes it becomes
a little difficult to analyze which interpretation of Fermat’s little theorem is to be
used.
Another way that you can remember Fermat’s Little Theorem (I am not joking, that is
the official name – check this) is that it is a special case of Euler’s Theorem where ‘N’
is a prime number.
Because, if ‘N’ is prime then or the Euler’s Totient Function will always be (N-1)
Funda 3: Wilson
Sometimes people find the history behind Wilson’s theorem to be more interesting
than the theorem itself. Actually, it was know to the great Muslim
polymath Alhazen approximately seven and a half centuries before John Wilson was
born. Alhazen, being the great scientist that he was, never bothered to prove it and
tried to regulate the floods in river Nile. After being ordered by Al-Hakim bi-Amr
Allah, the sixth ruler of the Fatimid caliphate, to carry out this operation, Alhazen
quickly perceived the impossibility of what he was attempting to do, and retired from
engineering. Fearing for his life, he feigned madnessand was placed under house
arrest, during and after which he devoted himself to his scientific work until his
death.
The English mathematician, John Wilson, stated it in the 18 th century but he could not
prove it either. Actually Wilson was a student of Edward Waring, who announced the
theorem in 1770. None of them could prove it. Lagrange proved it in 1771. There is
evidence that Leibniz was also aware of the result a century earlier, but he never
published it.
I think I will end the history lesson here and continue with the mathematical part.
In case you have any doubts with any of the questions, use the comments section
given below.
Let us start!
Ans: The divisibility test of 2^n is that you need to check the last ‘n’ digits of the
number.
= To find out the remainder from 16, you need to check the last 4 digits
= aaa is divisible by 37
.
= Rem [7777…777 (110 times) /37] = 77
= Rem [308/37]
= 12
This looks a little difficult if you do not any theorems for finding out remainders. Let
us take a simpler approach and break down the problem into smaller parts.
These type of questions become really simple if you understand the concept of
negative remainders. Always try and reduce the dividend to 1 or -1.
45 = 9*5
Let us find out the remainders separately and combine them later
Rem [1234…..434481/9]
= Rem [1234…..434481/9] = 0
So, our answer is a number which leaves a remainder of 1 when divided by 5 and is
divisible by 9.
Consider multiple of 9,
9, does not leave a remainder of 1 from 5. Invalid.
Ans: To find out the remainder from 2^n, we just need to look at the last ‘n’ digits.
= Rem [4950/16]
=6
6! is divisible by 18
7! is divisible by 18
100! is divisible by 18
= Rem [ (1 + 2 + 6 + 24 + 120)/18]
= Rem [153/18] = 9
6) What is the remainder when the infinite sum (1!)² + (2!)² + (3!)² + ··· is
divided by 1152?
Ans: We have to find out the remainder when (1!)² + (2!)² + (3!)² + ··· is divided by
1152
1152 = 2^7 * 3^2
= Rem [15017/1152]
= 41
where x = 3^21
Rem [(x + x^2 + x^3 + x^4) / (3^20 + 1) ] = (-3) + (-3)^2 + (-3)^3 + (-3)^4
= -3 + 9 – 27 + 81 = 60
Ans: To check divisibility by 999, check the sum of the digits taken 3 at a time
Binomial Theorem
= -1 + 3
=2
Ans: These type of questions become really simple if you understand the concept of
negative remainders. Always try and reduce the dividend to 1 or -1.
= Rem [1 / 18]
=1
= (-1) + (-1)
= -2
= 70
= Rem [(-2)^2015 / 9]
= Rem [ 4*(-2)^2013 / 9]
= Rem [ 4*(-8)^671 / 9]
= Rem [ 4*1 / 9]
=4
= Rem [(-2)^2015 / 9]
= Rem [ 4*(-2)^2013 / 9]
= Rem [ 4*(-8)^671 / 9]
= Rem [ 4*1 / 9]
=4
= Rem [(-2)^98/7]
= Rem [2^98/7]
= Rem [ 8^32 * 4 / 7]
= Rem [1 * 4 / 7]
=4
= Rem [800/27]
= 17
= Rem [ 1*8/17]
=8
= 10
10) How will you find the remainder when 15^2010 +16^2011 is divided by
7?
Rem[15^2010/7] = Rem[1^2010/7] = 1
Rem[16^2011/7]
= Rem[2^2011/7]
= Rem[2^2010/7]*Rem[2/7]
= Rem[8^670/7] * 2
= 1*2 = 2
Rem[(15^2010 + 16^2011)/7] = 1 + 2 = 3
= Rem[2^40 / 7]
= Rem[2^39 * 2 / 7]
= Rem[8^13 * 2 / 7]
= Rem[1^13 * 2 / 7]
= Rem[1*2 / 7]
=2
= Rem[(-4)^100 / 17]
= Rem[16^50/ 17]
= Rem[(-1)^50 / 17]
= Rem[1^50 / 17]
=1
= Rem[81^31 / 17]
= Rem[(-4)^31 / 17]
=4
= Rem[4*4^874 / 17]
= 13
CAT 2019 Online Coaching Free Download Remainders Ebook
These type of questions become really simple if you understand the concept of
negative remainders. Always try and reduce the dividend to 1 or -1.
1309 = 7*11*17
Rem[15^40/7]
= Rem [1^40/7]
=1
Rem[15^40/11]
= Rem [4^40/11]
= Rem [256^10/11]
= Rem [3^10/11]
= Rem [243^2/11]
= Rem [1^2/11]
=1
Rem[15^40/17]
= Rem [(-2)^40/17]
= Rem [16^10/17]
= Rem [(-1)^10/17]
=1
So, our answer is a number which leaves a remainder of 1 when divided by 7, 11, and
17
Such a number is 1 itself and that is our answer.
This looks a little difficult if you do not any theorems for finding out remainders. Let
us take a simpler approach and break down the problem into smaller parts.
These type of questions become really simple if you understand the concept of
negative remainders. Always try and reduce the dividend to 1 or -1.
91 = 7*13
Rem [2^90/7]
= Rem [ (2^3)^30 / 7]
= Rem [ 8^30 / 7]
= Rem [1^30 / 7]
=1
Rem [2^90/13]
= -1 from 13
= 12
So, our answer is a number which leaves a remainder of 1 when divided by 7 and it
should leave a remainder of 12 when divided by 13.
Let us start considering all numbers that leave a remainder of 12 when divided by 13
= 12 (leaves a remainder of 5 from 7. Invalid)
This looks a little difficult if you do not any theorems for finding out remainders. Let
us take a simpler approach and break down the problem into smaller parts.
These type of questions become really simple if you understand the concept of
negative remainders. Always try and reduce the dividend to 1 or -1.
153 = 9*17
128^1000 = 2^7000
Rem[2^7000/9]
= Rem [ 2^6999 x 2 / 9]
= Rem [ 8^2333 x 2 / 9]
= Rem [ (-1)^2333 x 2 / 9]
= Rem [ (-1) x 2 / 9]
= – 2 from 9
=7
Rem[2^7000/17]
=1
So, our answer is a number which leaves a remainder of 7 when divided by 9 and it
should leave a remainder of 1 when divided by 17.
Let us start considering all numbers that leave a remainder of 1 when divided by 17
Ans: Finding out the remainder from 100, is the same as finding out the last two
digits of a number
So, 7^(4n+1) will end in 07, 7^(4n+2) will end in 49, 7^(4n + 3) will end in 43, and
7^4n will end in 01
= Rem [7^26/100] = 49
Last two digits of the answer depend on the last two digits of the base.
The key in questions like these is to reduce the number to something ending in 1.
87^777
= 87 * 87^776
= 67
Ans: For finding out the last two digits of an even number raised to a power, we
should first try and reduce the base to a number ending in 24.
= 72
= 96
For finding out the last two digits of an odd number raised to a power, we should
first try and reduce the base to a number ending in 1.
For finding out the last two digits of an even number raised to a power, we should
first try and reduce the base to a number ending in 24.
After that, we can use the property
1392^1329
= 92^1329
= 4^1329 * 23^1329
= 2^2658 * 23 * 23^1328
= 56 * 24 * 23 * 81
= 72
So, our overall answer will be the sum of the two parts
= 25 + 72 = 97
Ans: For finding out the last two digits of an odd number raised to a power, we
should first try and reduce the base to a number ending in 1.
(86789)^41
= 89^41
= 89 * 89^40
= 89 * (..21)^40
= 89
Ans: For finding out the last two digits of an odd number raised to a power, we
should first try and reduce the base to a number ending in 1.
= 57
For finding out the last two digits of an odd number raised to a power, we should
first try and reduce the base to a number ending in 1.
After that, we can use the property
Last two digits of (…a1)^(…b) will be [Last digit of a*b]1
9) What are the remainders when 2^222 and 11^100 are divided by 25?
Ans: We need to solve two questions here. In both, we need to find out the
remainder from 25. Solving both of them would be easier if we just find out the last
two digits.
Remainder of the last two digits of a number from 25 will be the same as the
remainder of the number from 25.
Last two digits of 11^100 = 01 {Last two digits of (…a1)^(…b) will be [Last digit of
a*b]1}
= Rem [11^100 / 25] = 1
CAT 2019 Online Coaching Free Download Remainders Ebook
Fermat’s Theorem
Rem [2^1000/59]
= Rem [1 x 10 x 10 / 59]
= Rem [100/59]
= 41
= Rem [2^88/89] = 1
Rem [6^16/17] = 1
= Rem [216/17] = 12
Euler’s Theorem
= Rem [a^240/144] = 1
= Rem [11^240/144] = 1
= Rem [11^242/144]
= 1*121
= 121
CAT 2019 Online Coaching Free Download Remainders Ebook
Ans: To solve this, you need to know that Rem [ka/kb] = k Rem[a/b]
We need to find out
Rem [3^164/162]
= 3^4 x 1
= 81
= Rem [(21*20*19*18!)/361]
= 19 Rem [(21*20*18!)/19]
Using Wilson’s Theorem says For a prime number ‘p’ Rem [ (p-1)! / p] = p-1
= 19 Rem [(21*20*18)/19]
= 19 Rem [(2*1*(-1))/19]
= 19*(-2)
= -38
= 323
3) What is the remainder of the value 39 to the power 198 divided by 12? How
do I find it?
= 3* Rem[3^197 / 4]
= 3* Rem[(-1)^197 / 4]
= 3* Rem[-1 / 4]
= 3*3
=9
Ans: Let us try doing it by the pattern recognition / cyclicity method. It can be really
long if you do not get the pattern quickly. Use other methods like Euler’s Totient if
you do not get a pattern quickly.
After this the same pattern will keep on repeating because you got a 1.
Once we have obtained the cyclicity (number of terms in the pattern), all we need to
do is to find out the Remainder of Power when divided by the Cyclicity. Whatever is
this remainder, that particular value in the cycle is our answer.
Ans: The trick in these type of questions is often observing the pattern
1! + 2*2! = 1 + 4 = 5 = 3! – 1
1! + 2*2! + 3*3! = 1 + 4 + 18 = 23 = 4! – 1
Ans: Finding out the remainder from 100, is the same as finding out the last two
digits of a number
Let us find out Rem[Power / Cyclicity] t0 find out if it 7^(3k+1) or 7^(3k+2). We can
just look at it and say that it is not 7^3k
Ans: Rem [30^72^87 / 11] = Rem [(-3)^72^87 / 11] = Rem [3^72^87 / 11]
Now, we need to observe the pattern
Rem [72^87 / 5]
= Rem [2^87 / 5]
= Rem [2*4^43/5]
= Rem [2*(-1) / 5]
= -2
=3
Rem [6^16/17] = 1
= Rem [216/17] = 12
Let us find out Rem[Power / Cyclicity] t0 find out if it 4^(3k+1) or 4^(3k+2). We can
just look at it and say that it is not 4^3k
Rem [32^32/3] = Rem [(-1)^32/3] = 1
Let us find out Rem[Power / Cyclicity] t0 find out if it 4^(3k+1) or 4^(3k+2). We can
just look at it and say that it is not 4^3k
Wilson’s Theorem
Let us use that here. We need to find out Rem [97! / 101] = r
= 6r = 101k + 1
= 6r = 102
= r = 17
= Rem [(21*20*19*18!)/361]
= 19 Rem [(21*20*18!)/19]
Using Wilson’s Theorem says For a prime number ‘p’ Rem [ (p-1)! / p] = p-1
= 19 Rem [(21*20*18)/19]
= 19 Rem [(2*1*(-1))/19]
= 19*(-2)
= -38
= 323