Integer
The building blocks of discrete mathematics.
Simply put, an integer is a number with no fractional component. Integers can be positive, negative, or \(0\). The set of all integers is symbolized by \(\mathbb{Z}.\) Within the context of discrete math, integers are often referred to as "numbers."
Parity
All integers are either even or odd. This dichotomy, known as parity, can only be exhibited by integers.
For example, \(8\) is even because it can be expressed in the form \(8=2(4).\)
Likewise, \(9\) is odd because it can be written as \(9=2(4)+1.\)
Two integers have the same parity if they are both even or both odd, and opposite parity if one is even while the other is odd.
Any two consecutive integers have opposite parity.
Divisibility
When an integer divides another integer, their division results in an integer with no remainder.
\(3\) divides \(15\) because \(15=(5)(3).\)
If \(m\) divides \(n\), this relation can be written as \(m \mid n.\) Alternatively, if \(m\) does not divide \(n\), it's written as \(m \nmid n.\)
If \(m \mid n\), then \(m\) is a factor (or divisor) of \(n\), and \(n\) is an integer multiple of \(m.\)
Primality
Prime numbers (primes) are special numbers that have been studied for thousands of years. The only positive integers that can divide a prime are itself and \(1.\)
\(7\) is prime because \(7>1\) and \(2\), \(3\), \(4\), \(5\), and \(6\) fail to divide it.
On the flipside, a composite number has a factor other than itself and \(1.\)
\(6\) is composite because \(6>1\) and \(2\) divides it. You could also mention \(3\) divides it, but just one example is needed.