Number System 1 and 2 86
Number System 1 and 2 86
Number System 1 and 2 86
co
1
www.gradeup.co
2
www.gradeup.co
Also, when powers are given in factorial, then the unit digit of the expression is calculated as following:
Example 5: Find the unit digit of (3648)283! ,
It can be clearly seen that power 283! is in the form of 4k (As 4 is one of the multiplicative quantity in any
number’s factorial that is greater than 4). Thus, 283! Will be equivalent to the power of 4.
Unit digit = 84 = 4096 = 6 …Ans
3
www.gradeup.co
4
www.gradeup.co
Divisibility Theorem:
Divisibility rules:
1. Divisibility by 1: All the integers are divisible by 1.
2. Divisibility by 2: A number is said to be divisible by 2 when the last digit of the given number is even i.e.
0, 2, 4, 6, 8.
Example 1: 68, 484, 89232, 5820, 1446 all numbers are divisible by 2.
3. Divisibility by 3: A number is divisible by 3 when the sum of all the digits of the given number is either
3 or a multiple of 3.
Example 2: Check whether 78342 is divisible by 3 or not.
Solution:
Sum of the digits of 78342 = 7 + 8 + 3 + 4 + 2 = 24. Here, 24 is clearly a multiple of 3. Thus, the given
number 78342 will be exactly divisible by 3.
4. Divisibility by 4: A number is divisible by 4 when the last two digits of the given number is divisible by 4
or any multiple of 4.
Example 4: Check whether 482 is divisible by 4 or not.
Solution:
Consider last two digits of 482, which is 82. Here, 82 is not divisible by 4 or multiple of 4. Thus, 482 is not
divisible by 4.
5
www.gradeup.co
5. Divisibility by 5: : A number is divisible by 5 when the last digit of the given number is either 0 or 5.
Example 6: Check whether 5795 is divisible by 5 or not.
Solution:
Here, the last digit of the given number is 5. Thus, 5795 is divisible by 5.
7. Divisibility by 7:
There are various methods to find divisibility by 7 for any given number. These are as following:
a. Step 1: First form pairs of three-three digits from the right end of the given number.
Step 2: Now add all the alternating pairs at odd places and even places simultaneously and find the
difference between them. If the number obtained is exactly divided by 7 then the given number is said to
be divisible by 7.
6
www.gradeup.co
b. Subtract 2 times of digit at the right end from the rest of the number and repeat the process. Then
check if the obtained number is divisible by 7 or not. If yes then the given number will be divisible by 7
otherwise not.
Example 11: Check whether 57498 is divisible by 7 or not.
Solution:
2 times the last digit from the right end = 2 x 8 = 16
Subtract it from the rest of the number which is 5749.
Thus, 5749 – 16 = 5733
Again, 574 – (2x9) = 556
Again, 55 – (2x6)= 43
Now check 43 is divisible by 7 or not.
Since, 43 is not exactly divisible by 7 then the given number 57498 will not be divisible by 7.
8. Divisibility by 8: A number is divisible by 8 when the last three digits of the given number is divisible by
8 or any multiple of 8.
Example 12: Check whether 274432 is divisible by 8 or not.
Solution:
Here, we consider last three digits of the given number.
So, when 432 is divided by 8, it gives zero as remainder which means that 432 is completely divisible by 8.
Hence 274432 will also be completely divisible by 8.
9. Divisibility by 9: A number is divisible by 9 when the sum of all the digits of the given number is divisible
by 9 or a multiple of 9.
Example 13: Check whether 873477 is divisible by 9 or not.
Solution:
Sum of the digits = 8+7+3+4+7+7 = 36
Since 36 is a multiple of 9 or is completely divisible by 9 then the given number 873477 will be exactly
divisible by 9.
10. Divisibility by 10: Since 10 can be broken down into 2 multiplied by 5. So, any number that is divisible
by 2 and 5 simultaneously will also be divisible by 10. Or if the last digit is 0 then the given number will be
exactly divisible by 10.
Example 14:
18720 is divisible by 10 (As it is divisible by both 2 and 5).
But 39235 is not divisible by 10 because it is completely divisible by 5 but not by 2.
7
www.gradeup.co
12. Divisibility by 12: We can see that 12 is obtained by 3 multiplied by 4. So, for a number to be divisible
by 12, it has to be exactly divisible by 3 and 4 simultaneously.
8
www.gradeup.co
9
www.gradeup.co
Successive Division:
It is a division in which the quotient of the dividend is taken and is used as dividend of the next division.
Example 21: When 325 is successively divided by 3, 5, 11 then the remainders are:
Solution:
Divisor Dividend Quotient Remainder
3 325 108 1
5 108 21 3
11 21 1 10
10
www.gradeup.co
Number of odd factors of a number: The total number of odd factors of any given number can
be found by calculating all the possible combinations of powers of odd prime numbers as base
such as 3, 5, 7…… etc.
Example 2: Find the number of odd factors of 360.
Solution:
360 = 23 x 32 x 51
Thus, Total number of factors = (3+1)(2+1)(1+1) = 4 x 3 x 2 = 24
Now, Total number of odd factors = (2+1)(1+1) = 3 x 2 = 6 [taking only powers of 3 and 5 in
consideration and excluding powers of 2 as 2 makes the number even]
Number of even factors of a number: The total number of even factors of any given number can
be found by calculating all the factors and subtracting the number of odd factors from it.
By another method, Number of even factors can be found by keeping the power of 2 anfd
ignoring 20 for our calculations and finding the total number of factors as usual.
Example 3: Find the number of even factors of 360.
Solution:
360 = 23 x 32 x 51
Total number of factors = (3+1)(2+1)(1+1) = 4 x 3 x 2 = 24
Total number of odd factors = (2+1)(1+1) = 3 x 2 = 6
Thus, Total number of even factors = 24 – 6 = 18
Alternate Method:
360 = 23 x 32 x 51
Total number of even factors = (3+0)(2+1)(1+1) = 3 x 3 x 2 = 18 [keeping the power of 2 intact]
11
www.gradeup.co
SUM OF PERFECT SQUARE FACTORS OF A NUMBER: When we find the sum of factors that are
perfect squares, we only consider the powers that make perfect squares i.e. 0, 2, 4…… and follow
the usual method.
Example 7: Find the sum of factors of 2520 that are perfect squares.
Solution:
2520 = 23 x 32 x 51 x 71
Sum of factors that are perfect squares = (20 + 22)(30 + 32)(50)(70)
= (1 + 4)(1 + 9)(1)(1) = 5 x 10 x 1 x 1 = 50
12
www.gradeup.co
Number of zeros
In this topic we are going to go through the following concepts:
● Number of trailing zeros in a Product or an Expression
● Number of trailing zeros in Power of an expression
● Number of trailing zeros in a factorial (n!)
Number of zeros is nothing else but the number of zeros at the end i.e. Number of trailing zeros.
Just to make you clear, 170130000 has 5 zeros but 4 trailing / ending zeros.
Note: In questions based on these ideas, you should assume that the examiner is asking about trailing
zeros unless specified otherwise.
Number of trailing zeros in a Product or an Expression:
If we look at a number N, such that N = 2580000 = 258 x 104
Number of trailing zeros is the Power of 10 in the expression or in other words, the number of times N is
divisible by 10.
We know 10 = 2 x 5
For a number to be divisible by 10, it should be divisible by 2 & 5, since making a pair of 2 and 5 will give
us 10.
So, Number of trailing zeros is going to be the power of 2 or 5, whichever is less.
13
www.gradeup.co
100 = 22 x 52
Thus in the product
Powers of 2 = 3
Powers of 5 = 9
Thus number of zeros = 3.(Answer)
14
www.gradeup.co
Important Trick: Instead of dividing by 25, 125, etc. (higher powers of 5); it would be much faster if we
divide the number or expression by 5 recursively.
i.e. [26/5] = 5
[5/5] = 1
[1/5] = 0
Answer = 5+1 = 6
HCF and LCM
Highest Common Factor (HCF): The highest common factor of two or more numbers is the greatest
common divisor, which divides each of those numbers an exact number of times. The process to find the
HCF is:
a. Express the numbers given as a product of prime numbers separately i.e. find factors of numbers.
b. Take the product of prime numbers common to all the given numbers.
Example 1: Find HCF of 540 and 1024.
Solution:
Step 1: Express the numbers given as a product of prime numbers.
540 = 2 x 2 x 3 x 3 x 3 x 5 = 22 x 33 x 51
1024 = 2 x 2 x 2 x 2 x 2 x 2 x 2 x 2 x 2 x 2 = 210
Step 2: Take the product of prime numbers common to all the given numbers.
We can see that only 22 is common to both the given numbers. Thus, H.C.F. = 2 x 2 = 4
Sometimes finding HCF becomes very calculative and time consuming as the given numbers can be many
and their respective values are also large. In that case,
Property: Let us suppose two numbers N1 and N2 are given. So,
HCF of (N1, N2) = HCF of difference between N1, N2 or any factor of the difference between the given
numbers.
Example 3: Find the HCF of 36 and 54.
Solution:
By ordinary method: 36 = 22 x 32 and 54 = 21 x 33. Thus, HCF = 21 x 32 = 18
Or the Difference between 36 and 54 = 18
Check whether 18 divides both 36 and 54 or not. Here, 18 divides 36 and 54 completely. Thus, HCF of 36
and 54 will be 18. So, both the cases have the same answer.
Example 4: Find the HCF of 210, 360 and 540.
Solution:
HCF of (210, 360 and 540) = HCF (360 - 210 and 540 - 360) = HCF (150 and 180) = 30
15
www.gradeup.co
Check whether 30 divides all the three numbers or not. Here, 30 divides 210, 360 and 540 completely.
Thus, HCF of 210, 360 and 540 will be 30.
Note: Try to find difference between given numbers which is as minimum as possible.
Example 5: Find the HCF of 2190, 1800, 1890 and 2520.
Solution:
Here, Finding the HCF of these four numbers will be hectic as these numbers are large and their
factorization will be time consuming. So, try to find shortest possible difference between the given
numbers. Here, shortest possible difference will be between 1890 and 1800 which is 90.
Now, Check whether 90 divides all the four numbers or not. Here, 90 divides 1800, 1890 and 2520
completely but not 2190. So, HCF will not be 90 but a factor of 90.
Factors of 90 = 1, 2, 3, 5, 6, 9, 10, 15, 18, 30, 45, 90. Out of all the twelve factors of 90, highest factor that
divides all the given numbers is 30. Thus, HCF will be 30.
Least Common Multiple (LCM): The least common multiple (LCM) of two or more numbers is the
smallest of the numbers, which is exactly divisible by each of them, e.g. consider two numbers 18 and 24.
The multiples of 18 are: 18, 36, 54, 72, 90, 108, 126, 144, 162, 180, 198, 216, ....
The multiples of 24 are: 24, 48, 72, 96, 120, 144, 168, 192, 216, ......
The common multiples of both 18 and 24 are 72, 144, 216, ....
The least common multiple is 72.
Here again try to break the words in reverse order and understand the concept. Firstly, find the multiples
of the numbers. Secondly, the common multiples of the numbers and finally the least out of those will be
the LCM. The process to find the LCM is:
a. Express the numbers given as a product of prime numbers separately i.e. find factors of numbers
b. Take the product of prime factors of the given numbers after eliminating repetition of the common
factors.
Example 6: Find LCM of 36 and 54.
Solution:
Step 1: Express the numbers given as a product of prime numbers.
36 = 22 x 32
54 = 21 x 33
Step 2: Take the product of prime factors of the given numbers after eliminating repetition of the common
factors.
Here, eliminating the common factors 21 and 32 and multiplying the remaining factors i.e. 22 and 33 .
So, LCM = 22 x 33 = 108
Example 7: Find the LCM of 210, 360 and 540.
Solution:
Step 1: Express the numbers given as a product of prime numbers.
210 = 2 x 3 x 5 x 7
360 = 23 x 32 x 5
540 = 22 x 33 x 5
Step 2: Take the product of prime factors of the given numbers after eliminating repetition of the common
factors.
16
www.gradeup.co
Here, eliminating the common factors 21, 31 and 51 and multiplying the remaining factors i.e. 23 and 33, 5
and 7.
So, LCM = 23 x 33 x 5 x 7 = 7560
Special case of finding HCF: There are some cases when HCF is asked in question but two numbers (N1
and N2) are not given instead their sum and LCM is given. So, in that case:
HCF of (N1 and N2) = HCF of (Sum of N1 and N2 , LCM of N1 and N2)
Proof: Find the HCF of 36 and 54.
36 = 22 x 32
54 = 21 x 33
HCF = 21 x 32 = 18
Here, Sum of 36 and 54 = 90
And Sum of 36 and 54 = 22 x 33 = 108
HCF of (Sum of 36 and 54, LCM of 36 and 54) = HCF of (90 and 108) = 18
So, in both the cases HCF is same.
HCF of fraction values: To calculate the HCF of fraction values, we calculate the ratio of HCF of all the
numerators to LCM of all the denominators.
1 3 5 13
Example 8: Find the HCF of 4 , 8 , 6 , 12.
Solution:
HCF of numerators = HCF (1, 3, 5, 13) = 1
LCM of denominators = LCM (4, 8, 6, 12) = 24
1
Thus, HCF of given fractions = 24
LCM of fraction values: To calculate the LCM of fraction values, we calculate the ratio of LCM of all the
numerators to HCF of all the denominators.
1 3 5 13
Example 9: Find the LCM of 4 , 8 , 6 , 12.
Solution:
LCM of numerators = LCM (1, 3, 5, 13) = 195
HCF of denominators = HCF (4, 8, 6, 12) = 2
195
Thus, LCM of given fractions = 2
17
www.gradeup.co
REMAINDER THEOREM
Any number can be written in the form given below:
Dividend=Divisor x Quotient + Remainder
So When 86 is divided by 10 it can be written in the form
86 = 10 x 8 + 6
Consider the following question:
17×23.
Suppose you have to find the remainder of this expression when divided by 12.
We can write this as:
17×23 = (12+5) × (12+11)
You will realise that, when this expression is divided by 12, the remainder will only depend on the last
term above:
12×12+12×11+5×12+5×11 5×11
Thus, 12
gives the same remainder as 12
→ 𝑅𝑒𝑚𝑎𝑖𝑛𝑑𝑒𝑟 = +7
Learning Point: In order to find the remainder of 17 × 23 when divide by 12, you need to look at the
individual remainders of 17 and 23 when divided by 12 and then successively divide by 12 to find the
remainder of the original expression
The remainder of the expression [A × B × C + D × E]/M, will be the same as the remainder of the
expression [AR × BR × CR × ER]/M.
We call this transformation as the remainder theorem transformation and denote it by the sign
R→
Thus, the remainder of
In the above question, we have a series of remainder theorem transformations (denoted by R→)
and equality transformations to transform a difficult looking expression into a simple expression.
18
www.gradeup.co
14×15 6×7 42
8
R→ 8
R→ 8
R→ +2
However, there is another option by which you can solve the same question:
When 14 is divide by 8, the remainder is normally seen as + 6. however, there might be times when using
the negative value of the remainder might give us more convenience. Which is why you should know the
following process.
Concept Note: Remainders by definition are always non-negative. Hence, even when we divide a number
like – 27 by 5 we say that the remainder is 3 (and not – 2). However, looking at the negative value of the
remainder–it has its own advantage in Mathematics at it results in reducing calculations.
Thus, when a number like 13 is divided by 8, the remainder being 5, the negative remainder is –3.
Note: It is in this context that we mention numbers like 13, 21, 29, etc. as 8n + 5 or 8n – 3 numbers.
1415 −2×−1
Thus, 8
will give us 8
R→2
Consider the advantage this process will give you in the following question:
51×52 −2×−1
53
→ 53
R→2
(The alternative will involve long calculation. Hence, the principle is that you should use is negative
remainders wherever you can. They can make life much simpler.)
What if the answer comes out to be negative?
62×63×64 −4×−3×−2 24
For instance, 66
→ 66
R → − 66
But we know that a remainder of –24, equals a remainder of 42 when divided by 66. Hence, the
answer is 42.
Of course, nothing stops you from using positive and negative remainders at the same time in order to
solve the same question:
17×19 −1×+1 1
9
→ 9 R → − 9 R → +8
19
www.gradeup.co
Solution:
243 × 245 × 247 × 249 × 251 +3×+5×+7×+9×+11 15×63×11 +3×+3×−1 9
→ → → → − 12 𝑅 → +3
12 12 12 12
173×261 248×249×250
2. +
13 15
Solution:
37×43×51 137×143×151
3. +
7 9
Solution:
37×43×51 137×143×151 +2×+1×+2 +2×−1×−2
+ → + → (+4) + (+4) 𝑅 → +8
7 9 7 9
Dealing with large power: There are two tools which are effective in order to deal with large powers:
𝑛
((𝑎𝑥+1))
(A) If you can express the expression in the form 𝑎
then the remainder will become 1 directly. In
such a case, no matter how large the value of the power n is, the remainder is 1. In such a case the value
of the power does not matter.
3712635 112635
Example: 9
R→ 9
R → +1
(𝑎𝑥−1)𝑛
(B) 𝑎 In such a case using –1 as the remainder it will be evident that the remainder will be +1 if n is
even and it will be –1 (Hence a – 1) when n is odd.
31127 (−1)127
Example: 8
R→ 8
R → +7
Suppose you were asked to find the remainder of 14 divided by 4. It is clearly visible that the answer
should be 2.
20
www.gradeup.co
14 7
4
→2 R → +1 (The answer has changed)
We have transformed 14/4 into 7/2 by dividing the numerator and the denominator by 2. The result is
that the original remainder 2 is also divided by 2 giving us 1 as the remainder. In order to take care of this
problem we need to reverse the effect of the division of the remainder by 2. This is done by multiplying
the final remainder by 2 to get the correct answer.
Note: In any question on remainder theorem, you should try to cancel out parts of the numerator and
denominator as much as you can, since it directly reduces the calculation required.
22×31×44×27×37×43
The remainder the above expression will give when it is divided by 100 is the answer to the above
question.
Hence, to answer the question above find the remainder of the expression when it is divided by 100.
Solution:
22 × 31 × 44 × 27 × 37 × 43
100
22×31×11×27×37×43
= 25
(on dividing by 4)
Note: Similarly finding the last three digits of an expression means finding the remainder when the
expression is divided by 1000.
21
www.gradeup.co
𝐴𝑃−1
The remainder of the expression 𝑃
is 1. (Provided A is not a multiple of P)
2482
Example: The remainder of 83
=1
This is also sometime referred to as the ‘Chinese Remainder Theorem’. It is useful when you have to find
the remainder when there is a large denominator, and no other short cuts are working. It is best explained
through an example.
1071444
Suppose you were trying to find the remainder of . You can split the denominator into two co-prime
136
numbers as 17 and 8.
The next step is to find a number below 136 that is both a 17n + 13 as well as an 8n + 1 number. That
number would be the answer.
The list of 17n + 13 numbers below 136 is: 13, 30, 47, 64, 81, 98, 115 and 132. 81 can be seen to be an 8n
+ 1 number too.
22
www.gradeup.co
23