
Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
The concepts of divisibility and the division theorem in discrete structures ii. It covers the definition of divisibility, the transitivity of divisibility, and the division theorem. The document also explains the difference between even and odd integers and their relationship to divisibility.
Typology: Study notes
1 / 1
This page cannot be seen from the preview
Don't miss anything!

CSCI 124 and CSCI 224/Vora/GWU 1
CSCI 124/224: Discrete Structures II: Divisibility
In this section, we study the divisibility of one integer by another. You should already be familiar with the basic ideas, but need to be able to prove them, using simple logical steps. Again, there is no way to become familiar with proofs without practice. Make sure you do the problems from the handout.
∃ denotes “there exists”.
Definition For integers a and b, a 6 = 0, a is said to divide b if ∃ integer m such that b = ma. This is denoted as a|b. b is said to be divisible by a. Also, a is a factor or divisor of b, which is a multiple of a.
Examples: 2 | 1024 , 3 | 171 , 5 - 1024 ( 5 does not divide 1024 ).
Theorem Divisibility is transitive. That is, for integers a, b, c such that a 6 = 0 and b 6 = 0, if a|b and b|c, then a|c.
Proof: Suppose a 6 = 0 and b 6 = 0. Suppose further that a|b and b|c.
a|b, b|c ⇒ ∃ m 1 , m 2 , s.t.b = m 1 a, c = m 2 b ⇒ c = m 1 m 2 a ⇒ a|c
Example: 9 | 126 and 126 | 378 , hence 9 | 378.
Division Theorem If a and b are integers such that b > 0 , ∃ unique integers q (the quotient) and r (the remainder) such that a = bq + r, with 0 ≤ r < b.
We do not study its proof.
Example: a = 7, b = 3, r = 1, q = 2. Another example: a = − 9 , b = 5, q = − 2 , r = 1 (and not q = − 1 and r = − 4. Why not?)
An even integer is an integer that is divisible by 2. That is, there is an integer m such that the even integer may be written as 2 m.
An odd integer is one that is not divisible by 2. Its remainder is 1 when divided by 2 , hence ∃ unique integer q such that the odd integer may be written as 2 q + 1.
If the product of two integers is the integer 1 , both integers are either 1 or − 1.