4. Division
4.1 Definition: division
An integer $n$ divides an integer $m$ if there is an integer $q$ for which $m =qn$. The symbol for “divides” is a vertical line: $n|m$ means $n$ divides $m$.
4.1.1 Example Because $6 = 2\times 3$, it is true that $3|6$. It is also true that $- 3|6$, since $6 = (- 2)\times (-3)$, but it is not true that $4|14$ since there is no integer $q$ for which $14 = 4q$. There is of course a fraction $q = 14/4$ for which $14 = 4q$, but $14/4$ is not an integer.
4.1.2 Exercise Does $13|52$? (Answer on page 243.)
4.1.3 Exercise Does $- 37|111$?
4.1.4 Usage If $n$ divides $m$, one also says that $n$ is a factor of $m$ or that $n$ is divisor of $m$.
4.1.5 Worked Exercise Find all the factors of 0, 1, 10 and 30. Answer
| Number | Factors |
|---|---|
| 0 | every integer |
| 1 | -1, 1 |
| 10 | -1, -2, -5, -10, 1, 2, 5, 10 |
| 30 | -1, -2, -3, -5, -6, -10, -15, -30, 1, 2, 3, 5, 6, 10, 15, 30 |
4.1.6 Exercise Find all the factors of 7, 24, 26 and 111.
4.1.7 Remarks
a) Warning: Don’t confuse the vertical line “$|$”, a verb meaning “divides”, with the slanting line “/” used in fractions. The expression “$3|6$” is a sentence, but the expression “$6/3$” is the name of a number, and does not form a complete sentence in itself.
b) Warning: Definition 4.1 of “divides” requires that the numbers involved be integers. So it doesn’t make sense in general to talk about one real number dividing another. It is tempting, for example, to say that 2 divides $2\pi$, but according to the definition given here, that statement is meaningless.
c) Definition 4.1 does not say that there is only one integer $q$ for which $m =qn$. However, it is true that if $n$ is nonzero then there is only one such $q$, because then $q =m/n$. On the other hand, for example $0 = 5\cdot 0 = 42\cdot 0$ so $0|0$ and there is more than one $q$ proving that fact.
d) Definition 4.1 says that $m|n$ if an integer $q$ exists that satisfies a certain property. A statement that asserts the existence of an object with a property is called an existential statement. Such statements are discussed in more detail on page 113.
4.1.8 Example According to the definition, 0 divides itself, since $0 = 0\times 0$. On the other hand, 0 divides no other integer, since if $m \neq 0$, then there is no integer for which $m =q\times 0$.
4.1.9 Usage Many authors add the requirement that $n \neq 0$ to Definition 4.1, which has the effect of making the statement $0|0$ meaningless.
4.1.10 Exercise Find all the integers $m$ for which $m|2$. (Answer on page 243.)
4.2 Definition: even and odd
An integer $n$ is even if $2|n$. An odd integer is an integer that is not even.
4.2.1 Example $-12$ is even, because $- 12 = (- 6)\times 2$, and so $2| -12$.
Pages 4–5 of the book (PDF).