s, SSC, IBPS
(/user/kamal_lohia) kamal_lohia (/user/kamal_lohia) 9 months ago (/post/114)
Faculty and Content Developer at Tathagat | Delhi College of Engineering
Now it is smarter to use the earlier known data from previous question.
If 2007 = 7a + 5
It is simply (5 × 6) = 2 mod 7.
Funda is simple: Remainders of product of some numbers is obtained by product of individual remainders of the number with same divisor.
Question was simple but important learning is as said above that "Remainder of Product of some number depends on Product of their individual
Remainders with same divisor."
One more thing to tell (for those who are unaware of the 'alien' phrase MOD):
When I say 31 = 3 mod 7, that mean 31 is a number of the form 7a + 3 OR in other words, we can also say 31 leaves remainder 3 when divided by
7. So just to avoid this long sentence every time, we use this internationally used term 'mod'. I hope it'll trouble you no more throughout the
session.
Li'l advanced:
Looks like your connection to
MBAtious
What is the remainder when (2007 × 2007 × 2007.... 2007 times) (2008 × 2008 × 2008....2008 times) is divided by was
7? lost, please wait while
we try to reconnect.
It is equivalent to (20072007) (20082008) mod 7 = (52007) (62008) mod 7.
2 out of 3
https://www.mbatious.com/topic/114/basic-concepts-of-remainders-kamal-lohia 1/8
10/23/2017 Basic concepts of Remainders - Kamal Lohia | MBAtious | CAT Study Materials, MBA Preparation, BANK PO Examinations, SSC, IBPS
Remember that term before 'mod' doesn't always give the remainder. It tell us only the form of the number. e.g. 5 mod 7 = 7a + 5 = 7a + 7 - 2 = 7(a
+ 1) - 2 = -2 mod 7.
Hope you got it. Now observe one more thing that we can also write:
That means you can add/subtract the divisor any number of times from the number before 'mod' and it'll not change the form of the number.
Back to problem, we need to nd {(-2) 2007} × {(-1) 2008} mod 7 = -(22007) mod 7.
Also we saw that 23 = 1 mod 7. So we need to see whether the power of 2 (i.e. 20082009 here) is divisible by 3 or not.
That means we have a sub question in the original question that to nd the remainder of 20082009 by 3.
Using this info in previous part, we get 20072008^2009 = (2{3k+1}) mod 7 = 2 × (23)k mod 7 = 2 mod 7
Now we know what remainder is and how to nd it. But many of you might be thinking that in earlier questions we found 23= 1 mod 7 manually.
What if the number is much larger and divisor is also larger number so that just by seeing, we cannot say anything speci c.
Mphi(N) = 1 mod N
where HCF(M, N) = 1 and phi(N) = Euler's Totient Function = number of numbers less than N and co-prime to N.
For those who don't know how to nd phi(N), again EULER comes to rescue. So cheers. :)
If N = (ap) × (bq) × (cr)....where a, b, c are distinct primes and p, q, r are their respective powers
2 out of 3
https://www.mbatious.com/topic/114/basic-concepts-of-remainders-kamal-lohia 2/8
10/23/2017 Basic concepts of Remainders - Kamal Lohia | MBAtious | CAT Study Materials, MBA Preparation, BANK PO Examinations, SSC, IBPS
How many numbers less than 2100 are multiples of 3 but not multiple of 2, 5 and 7?
It is simply phi(700) = 700(1 - 1/2)(1 - 1/5)(1 - 1/7) = 240. Can you think why??
How many numbers less than 1200 are not divisible by 15 but divisible by 12?
This is a very simple logic that "Out of every three consecutive numbers, exactly one is divisible by 3 and two are not". Similarly "Out of every four
consecutive numbers, exactly one is multiple of 4 and three are not" and so on. So just use it. But remember, there is one condition to abide by. If I
am considering divisibility or non-divisibility by 2, 3, 5 (say), then my total number should be multiple of / divisible by 2, 3 and 5. Otherwise, you
won't get the integral answer. And never try to be over smart by rounding offs or taking some nearest integer or something else.
how many of rst 100 numbers are multiple of 2 and 5 but not of 3
First take a number nearest to 100 which is multiple of 2, 5 as well as 3 i.e. 90.
Find the sum of all the numbers less than 101 which are co-prime to 100.
As we used the symmetry pattern of numbers in previous problem, that out of every 'n' consecutive numbers exactly 1 is divisible by n and
remaining (n - 1) are not. Similarly, here, when I remove the multiple of 2 or 5 from rst 100 numbers, the remaining co-prime numbers also
depicting a pattern. Can you identify this?
Among rst 100 natural numbers, what is the pattern besides that each number is obtained by adding 1 to previous one?
There is one more (which is applicable to basically in all APs) , that sum of rst and last is same as sum of second and second-last and so on.
Similarly, when we have only 'co-prime to 100' numbers left with us, which are 40 in number as calculated in F1, they also appear in such pattern
that "sum of First and last is same as sum of second and second-last and so on" And each of this sum is equal to 100.
Alternately, you can think of any two numbers less than 100 whose sum is 100.
x + y = 100.
Similar one...
Find the sum of the numbers which are less than 2100 and are multiples of 3 but not multiple of 2, 5 and 7?
Find the sum of the numbers which are less than 1200 and are not divisible by 15 but divisible by 12?
For how many values of n, phi (n) is odd? For example if n = 2, phi (2) = 1 is odd.
Remainder Theorems
i.e. Mp = M mod p
Euler’s Theorem: Mphi(N) = 1 mod N where phi(N) is Euler’s Totient function and HCF(M, N) = 1
As HCF(53, 19) = 1, we can use Euler’s theorem or Fermat’s theorem as 19 is a prime number.
we know that 2122 = 1 mod 23 as 23 is a prime number and HCF(21, 23) = 1. (Fermat’s Theorem)
Don't worry, last two digits of a number is it's remainder only when it is divided by 100. That means you are to nd the remainder of the number
with 100.
As 100 and 79 are co-prime, we can use Euler's th. Also phi(100) = 40.
What if Number and divisor are not co-prime i.e. HCF(M, N) is not equal to 1?
No issues: Just take the HCF of the number and divisor our and fond remainder of remaining number with remaining divisor.
Final answer will be HCF times the remainder obtained by remaining number and remaining divisor.
So the required remainder will be 3*[311 mod 4] = 3(-1) mod 12 = 9 mod 12.
MOD - We talked something about the phrase/operation earlier also. Let’s repeat them and try to be more familiar with it. When I say 31 = 3 mod 7,
that mean 31 is a number of the form 7a + 3 OR in other words, we can also say 31 leaves remainder 3 when divided by 7. So just to avoid this
long sentence every time, we use this internationally used term 'mod'.
Remember that term before 'mod' doesn't always give the remainder. It tell us only the form of the number e.g. 5 mod 7 = 7a + 5 = 7a + 7 - 2 = 7(a +
1) - 2 = -2 mod 7.
Hope you got it. Now observe one more thing that we can also write:
5 mod 7 = -2 mod 7 = -9 mod 7 = -16 mod 7 and also 5 mod 7 = 12 mod 7 = 19 mod 7 = 26 mod 7.
That means you can add/subtract the divisor any number of times from the number before 'mod' and it'll not change the form of the number.
Or 3N = 1 mod 8
37N = 5 mod 41
N = 9 mod 41.
Find the smallest natural number N such that 13N = 17 mod 19.
13N = 17 mod 19
-6N = -2 mod 19
i. 31N = 5 mod 17
II. 23 N = 15 mod 19
2 out of 3
https://www.mbatious.com/topic/114/basic-concepts-of-remainders-kamal-lohia 5/8
10/23/2017 Basic concepts of Remainders - Kamal Lohia | MBAtious | CAT Study Materials, MBA Preparation, BANK PO Examinations, SSC, IBPS
Solutions:
i. 31N = 5 mod 17
N = 4 mod 17.
4N = 72 mod 19
N = 18 mod 19.
N = 1 mod 20
That means there four possible values of N i.e. 1, 6, 13, 18 mod 20. But smallest is of course 1.
-9N = 3 mod 23
N = -1 mod 315
Next type of problems: If divisor is composed of more than one prime number, then we can break it into its co-prime factors and nd the individual
remainders and then combine them.
And 277 = [(210)7][27] = 27 mod 11 = -4 mod 11. (as phi(11) = 10 and HCF(2, 11) = 1)
Now comes the big problem: HOW TO COMBINE THESE REMAINDERS TO GET THE REMAINDER WITH 77.
Write the sequence of numbers 4 mod 7 i.e. 4, 11, 18, 25, 32, 39, …… and
AND we are to just nd the smallest common number which is there in both the sequences. 18 it is.
i.e. 7a = 11b – 8 = 7b – 7 + 4b – 1
So we need to nd the smallest b such that 4b – 1 is divisible by 7 and voila... b = 2 satis es.
Second step: Write an equation using the two divisors such that the difference between the integral multiple of two divisors is 1.
Now remainder is obtained by multiplying an extra term with each term of LHS i.e.remainder of the other divisor.
So it becomes [11 × 2 × 4 – 7 × 3 × (-4)] mod 77 = (88 + 84) mod 77 = (11 + 7) mod 77 = 18 mod 77.
How many four digit numbers exist such that when divided by 7, 9 and 11 one gets the remainders of 2, 3 and 4 respectively.
7a + 2 = 7a + 2 - 350 = 7a - 348 9b + 3 = 9b + 3 - 351 = 9b - 348 11c + 4 = 11c + 4 - 352 = 11c - 348 So N = 7 × 9 × 11d - 348 = 693d - 348 = 693d +
345
Here remainders from the three numbers have difference of 1. So I just need to found their multiple with gap of 1 as above and job is done.
And it is also not time consuming as multiple of 11 should give digit sum 1 as it had to be one more than multiple of 9 and multiple of nine will
always give digital sum 9 or 0. So 11 (digital sum 2) should be multiplied with a number with digital sum 5 i.e. 5, 14, 23, 32, 41, ...etc. Automatically
number one less than this will be multiple of 9. So I just need to check whether number one more less than this multiple of 7 or not.....
Any (p - 1) digit repunit number is always divisible by p where p is a prime number greater than 5.
0
Looks like your connection to
MBAtious was lost, please wait while
REMAINDER THEORM 9 (/tags/remainder theorm) we try to reconnect.
Log in to reply (/login)
2 out of 3
https://www.mbatious.com/topic/114/basic-concepts-of-remainders-kamal-lohia 7/8
10/23/2017 Basic concepts of Remainders - Kamal Lohia | MBAtious | CAT Study Materials, MBA Preparation, BANK PO Examinations, SSC, IBPS
(/user/siddharth-jain) Siddharth Jain (/user/siddharth-jain) 6 months ago (/post/1164)
None of the article has explanations to the concept . You are stating the concept . There is no answer to why ? But only shortcuts which has no
meaning .
1 Reply 0
(/user/zabeer) zabeer (/user/zabeer) 6 months ago (/post/1165)
Being MBAtious!
@Siddharth-Jain (https://www.mbatious.com/uid/524) Hi Siddharth, there are enough of articles that deal with the concepts and the articles
like this are mostly meant for practice and ne tuning the methods. So it is a pre requisite to build the base before solving similar articles. If
you are looking for remainder theorem concepts you can read https://www.mbatious.com/topic/61/remainder-theorem
(https://www.mbatious.com/topic/61/remainder-theorem) (might help)
0
CAT QUESTIONS 134 (/tags/cat questions) QUANT - MIXED BAG 120 (/tags/quant - mixed bag)
TIME SPEED & DISTANCE 18 (/tags/time speed & distance) DIGIT SUM & LAST DIGITS 10 (/tags/digit sum & last digits)
(/user/anubhav_sehgal)
Remainder Theorem - Anubhav Sehgal, NMIMS Mumbai (/topic/808/remainder-theorem-anubhav-sehgal-nmims-mumbai)
2 months ago
(/user/anubhav_sehgal)
Number System Practice Gym by Anubhav Sehgal - Part 5 (/topic/631/number-system-practice-gym-by-anubhav-sehgal-part-5)
6 months ago
(/user/hemant_malhotra)
Remainder Theorem Practice Questions (Solved) - Hemant Malhotra (/topic/613/remainder-theorem-practice-questions-solved-hemant-malhotra)
Looks like your connection to 7 months ago
MBAtious was lost, please wait while
(/user/handakafunda) we try to reconnect.
Remainder Theorem and related concepts for CAT Preparation - Ravi Handa (/topic/540/remainder-theorem-and-related-concepts-for-cat-preparation-ravi-handa)
2 out of 3
https://www.mbatious.com/topic/114/basic-concepts-of-remainders-kamal-lohia 8/8