Number System
Number System
SYSTEM
DIVISIBILITY RULES
• A number is divisible by 2, If the last digit is even.
128 Yes
129 No
Ans…b
A number is divisible by 9, If the sum of the digits is divisible
by 9.
1629 (1+6+2+9=18, and again, 1+8=9) Yes
2013 (2+0+1+3=6) No
a. 2 b.8
c.9 d.7
Ans…d
A number is divisible by 10, If the last digit of number is 0.
220 Yes
221 No
Ans…c
A number is divisible by 12, If the number is divisible by both 3
and 4.
648
(By 3, 6+4+8=18 and 18÷3=6 Yes)
(By 4, 48÷4=12 Yes)
Both pass, so Yes
Question .If the product 4864 × 9a2 is divisible by 12, then what
is the value of a:
Ans…a
• Divisibility Test for 13
To find out if a number is divisible by 13 or not, follow these steps:
Separate the last digit from the rest of the number. Let us call the rest of the
number the truncated number. The truncated number has one less digit than the
original number or the previous truncated number.
• If the number is still too large to visually check if it is divisible, apply this rule
over and over again as necessary.
• = Remainder[(Remainder[100/7] +
Remainder[30/7] * Remainder[4/7] -
Remainder[8/7] ) / 7 ]
Rem[PE[N]/N] = 1
where E[N]= N(1-)(1-)…
Where a,b are the possible prime factors of N
What is the remainder when 21865 is
divided by 17?
Remainder[21/17] = 4
Remainder [ 21865/ 17 ] = Remainder [ 4865/ 17 ]
4 and 17 are co prime numbers. ( A prime number is always
coprime to any other number)
φ(17) = 17 x ( 1 – 1 / 17) = 16.
So Euler’s theorem says Remainder [ 416/ 17 ] = 1
To use this result in the given problem we need to write 865 in
16n + r form.
865 = 16 * 54 + 1, so 4865 can be written as 416 * 54 x 4
Remainder[4865/17] = Remainder[ 416*54/17] * [4/17]
Remainder = 1 * 4 = 4
Fermat’s little theorem
• Remainder of a( p – 1 )/ p is 1, which is Fermat’s little
theorem
• We can derive other useful results like
• Remainder of ap / p is a.
• (ap – a) is always divisible by a.
Wilson’s theorem
• Remainder[(p-1)! / p ] = (p-1), if p is a prime number.
• We can also derive some useful results like
• Remainder of [(p-1)! + 1] / p is zero.
• Remainder of (p-2)! / p is 1.
CYCLIC PROPERTY OF REMAINDERS
For example,
Remainder [ 21 / 3 ] = 2, Remainder [ 22 / 3 ] = 1,
Remainder [ 23 / 3 ] = 2, Remainder [ 24 / 3 ] = 1 and so
on.
Pattern repeats in cycles of 2.
• Remainder [ 91 / 11 ] = 9, Remainder [ 92 / 11 ] = 4,
Remainder [ 93 / 11 ] = 3 , Remainder [ 94 / 11 ] = 5
• Remainder [ 95 / 11 ] = 1, Remainder [ 96 / 11 ] = 9,
Remainder [ 97 / 11 ] = 4, Remainder [ 98 / 11 ] = 3
1. How many trailing zeroes (zeroes at the end of the number) does 60! have?
SUM OF FACTORS
The formula for the sum of all factors is given by;
Sum of factors of N =
PRODUCT OF FACTORS
The formula for the product of all factors is given by;
Product of factors of N = NTotal No. of Factors/2
Example
Example: Find the total number of factors of 90 along with sum and
product of all factors.
Solution: 90 = 2 × 45 = 2 × 3 × 15 = 2 × 3 × 3 × 5
90 = 21 × 32 × 51
Here, X = 2, Y = 3, Z =5 and a = 1, b = 2, c = 1
Total number of factors of 90
= (a +1)(b+1)(c+1) = (1+1)(2+1)(1+1) = 2 × 3 × 2 = 12
Sum of factors of 90
= [(21+1-1)/2-1] × [(32+1-1)/3-1] × [(51+1-1)/5-1] = (3/1) × (26/2) × (24/4)
= 3 × 13 × 6 = 234
Product of factors of 90
= 90Total factors of 90/2 = 9012/2 = 906
Practice
1. Find the number of factors of 16.
A. 4 B. 5 C. 6 D. 8