lecture-3 (1)
lecture-3 (1)
Definition 2: Divisors
In An
symbol, a ≠can
integerwe 0 isstate
calledthe
a divisor or factor
definition of an integer b if there exists another integer c such
as follows:
that b = ac. The integer b is called an integral multiple of a.
If ≠ 0 ∈ Z , then a∨b (read as “a divides b”) iff ∃ c ∈ Z (read as “there is a c element of Z such that b =
Illustrations:
Exercise:
1. Prove that 6|18 (6 divides 18) but 6 does not divide 14.
2. Prove that 7|21 (7 divides 21) but 7 does not divide 30.
Remarks:
Proof:
Let m and n be two even integers, by definition of even integers m and n can be written as follows:
m = 2s, s ∈ Z
n = 2t, t ∈ Z
Consider the product of m and n,
mn = 2s(2t)
= 2(2st) by associative property on product of integers
mn = 2r , r = 2st, r ∈ Z
By the definition of divisor, 2 divides mn or mn is divisible by 2. This implies that mn is even.
Therefore, the product of any two positive integers is even.
Divisibility Rules
1. An integer N is divisible by 3 if and only if 3|∑ ai (3 divides the summation of a i' s ) where a i' s are digits of
the decimal expansion of N.
Illustrations:
a. Let N = 123. Then a 0=3 , a 1=2 and a 2=1
∑ ai=1+2+3=6
Since 3|6, therefore, 3|N or 3|123
Illustrations:
a. Consider N = 234. Then a 0=4 , a 1=3 and a 2=2
∑ ai=2+3+ 4=9. Note that 9|9, hence, 9|234.
b. N = 9288, a 0=8 , a 1=8 , a 2=2 and a 3=9
∑ ai=9+ 2+ 8+8=27. Since 9|27, therefore, 9|9288.
3. An integer N is divisible by 4 if and only if M is divisible by 4 where M is formed by the last 2 digits of N.
Illustration:
a. N = 3572, M=72. Clearly 4|72, and 4|3572 or 3572 is divisible by 4.
b. N = 41414, M= 14. In this case, 4 does not divide 14. Hence , 41414 is not divisible by 4.
4. An integer N is divisible by 8 if and only if M is divisible by 8 where M is formed by the last digits of N.
Illustrations:
a. Let N = 10016. Then M = 016 and is divisible by 8 where M is formed by the last 3 digits of N.
b. Suppose N = 50112, M = 112. Observe that 8|112. Therefore 50112 is divisible by 8.
5. An integer N is divisible by 11 if and only if M is divisible by 11, where M is the difference between the
sum of the digits of N in the even places and the sum of the digits of N in the odd places.
Illustrations:
a. Let N = 3157892
The sum of the digits of odd places = 3 + 5 + 8 + 2 = 18
The sum of the digits of even places = 1 + 7 + 9 = 17
Since the difference between 18 and 17 is 1 which is not divisible by 11, hence, 3157892 is not divisible by
11.
b. Let N = 3156802
The sum of the digits of odd places = 3 + 5 + 8 + 2 = 18
The sum of the digits of even places = 1 + 6 + 0 = 7
The difference between 18 and 7 is 11 and 11 is divisible by 11, hence, 3156802 is divisible by 11.
Divisibility by 7
A number is divisible by 7 if the difference between twice the units digit and the number formed by
the remaining digits after truncating the units digit is a multiple of 7.
Illustration:
Note: The process may be repeated thereafter if the difference between the remaining digits and
twice the last digit is still a big number.
Exercise :
A. Without performing the division operation for the following integers together with corresponding divisor,
determine whether the divisibility holds true or not. If not explain why.
1. 207 by 3 6. 246600 by 9
2. 12016 by 4 7. 216910 by 3
3. 122345 by 6 8. 4010022 by 4
4. 123110 by 8 9. 2301200 by 8
5. 289905 by 11 10. 2505801 by 11
Division Algorithm
Given any two positive integers, a and b, there exist unique two integers q and r
(0≤ r ≤b∧0 ≤ q ), called respectively quotient and remainder, such that a=bq+ r .
Illustrations :
1. Consider a = 870 and b = 84. Now, if we divide 870 by 84, we get 10 and a remainder of 30, hence, 870 =
84(10) + 30 where q = 10 and r = 30.
2. Let a = 836 and b = 25. Dividing 836 by 25 gives 33 and a remainder of 11. Therefore, 839 = 25(33) + 11.
Exercise
Verify the Division Algorithm using the following values of a and b.
1. a = 329 and b = 16
2. a = 768 and b = 253
3. a = 480 and b = 60
4. a = 2905 and b = 117
5. a = 5237 and b = 125
In this case, 70 is an exact divisor of 280. Notice that if the remainder is 0, b divides a exactly but this
is not the case as we can see in illustration 1 and 2 if the remainder is not 0.
LINEAR COMBINATION
Illustration:
Exercise:
1. If a = 3, b = 8 and x, y ∈ Z , then what is the expression for which a and b is a linear combination of 3 and
8?
2. If a = 5, b = -11 and x, y ∈ Z , then what is the expression for which a and b is a linear combination of 5 and
-11?
3. is x + 4y a linear combination of two integers? If yes, for what two integers will x + 4y a linear combination
of ______________ ?
4. How about 3x ? Is it a linear combination of two integers? If yes, what are the two integers?
5. How about -8y? Is it a linear combination of two integers? If yes, what are the two integers?
Note: The consequences of the above definition are the following properties:
Illustrations: For property 3 : If a|b, a|c, then a|(bx + cy) for all x, y ∈ Z .
1. Since 2|6 and 2|8, then 2|(6x + 8y). This can be shown using definition 1.
Since c|a and c|b, then there exist integers m and n such that a = mc and b = nc.
Then,
ax + by = mcx +ncy = c(mx + ny). This shows that c|(ax + by) by definition 1.
Corollary:
If a number c divides a sum of two numbers, and if it divides one of the two numbers, then it also
divides the other. In other words, if c|(m + n) where m, n ∈ Z and c|m, then c|n.
Illustration:
Suppose 3 divides the sum of x + 9, then since it divides 9, the corollary says that it must also divide x. Let us
verify this by few examples.
We have noticed from the above examples that only for values of x which are divisible by 3 is the expression
x + 9 also divisible by 3.