Skip to main content
Logo image

Section 4.1 Divisibility

We begin by introducing terminology.

Definition 4.1.

Suppose that for integers \(a\) and \(b\text{,}\) there is an integer \(q\) such that \(a = b \cdot q\text{.}\) Then \(b\) divides \(a\text{.}\)
By Definition 4.1 if \(b\) divides \(a\text{,}\) then \(a = b \cdot q\) for some integer \(q\text{.}\) Then we have \(a = b \cdot q + 0\) so that in particular \(a \fmod b = 0\text{.}\) If \(b\) does not divide \(a\text{,}\) then \(a \fmod b\ne 0\text{.}\) It follows immediately that if \(b\) divides \(a\) then \(b\le a\text{.}\)

Problem 4.2. Determine divisibility.

For the given values of \(a\) and \(b\text{,}\) determine whether or not \(b\) divides \(a\text{.}\) If \(b\) divides \(a\text{,}\) determine the integer \(q\) such that \(a = b \cdot q\text{.}\)
  1. \(a=30\) and \(b=10\)
  2. \(a=2\) and \(b=46\)
  3. \(a=29\) and \(b=4\)

Solution.

In each case we consider the remainder \(a\fmod b\) of the division \(a\) and \(b\text{.}\)
  1. We compute \(30 \fmod 10 = 0\text{.}\) So \(10\) divides \(30\text{.}\) Furthermore, we have that \(30\fdiv 10=3\) so \(30=10\cdot 3\text{.}\)
  2. We compute \(2 \fmod 46 = 2\ne 0\text{.}\) So \(46\) does not divide \(2\text{.}\) (Be careful not to mix up \(a\) and \(b\) during the division or the conclusion. The order matters. It turns out that \(2\) does divide \(46\) since \(46 = 2\cdot 23\text{.}\))
  3. We compute \(29 \fmod 4 = 1\ne 0\text{.}\) So \(4\) does not divide \(29\text{.}\)
There are several other formulations for \(b\) divides \(a\text{.}\)

Definition 4.3.

Let \(a\) and \(b\) be integers. If \(b\) divides \(a\) we also say:
  1. \(a\) is divisible by \(b\)
  2. \(a\) is a multiple of \(b\)
  3. \(b\) is a divisor of \(a\)
  4. \(b\) is a factor of \(a\)
If a number divides two other numbers, it divides their sum.

Proof.

As \(b\) divides \(a\text{,}\) there is an integer \(q\) such that \(a=b\cdot q\text{.}\) As \(b\) divides \(c\text{,}\) there is an integer \(s\) such that \(c=b\cdot s\text{.}\) With substitution and the distributive property we obtain
\begin{equation*} a+c=(b\cdot q)+(b\cdot s)=b\cdot(q+s)\text{.} \end{equation*}
Thus \(a+c\) is a multiple of \(b\) which means that \(b\) divides \(a+c\text{.}\)

Example 4.5.

Let \(b:=10\) and \(a:=100\) and \(c:=1000\text{.}\) Then \(b\) divides \(a\) and \(b\) divides \(c\text{.}\) Also \(b\) divides \(a+c=1100\text{.}\)