2.2 Divisibility, Prime Factorization, Factors, and Multiples

Key Takeaways

  • A prime number is an integer $p > 1$ whose only positive divisors are $1$ and $p$; $2$ is the unique even prime number, while $0$ and $1$ are neither prime nor composite.
  • By the Fundamental Theorem of Arithmetic, every integer $n > 1$ possesses a unique prime factorization $p_1^{a_1} p_2^{a_2} \cdots p_k^{a_k}$, which determines its total positive divisor count as $(a_1 + 1)(a_2 + 1)\cdots(a_k + 1)$.
  • The Greatest Common Divisor (GCD) is the product of common prime factors using their lowest powers, while the Least Common Multiple (LCM) is the product of all prime factors using their highest powers, satisfying $\text{GCD}(a,b) \times \text{LCM}(a,b) = a \cdot b$.
  • Fast modular divisibility tests allow rapid factoring: digit sums for $3$ and $9$, last two digits for $4$, last digit for $2$ and $5$, simultaneous divisibility by $2$ and $3$ for $6$, and last three digits for $8$.
  • Parity arithmetic dictates algebraic outcomes: $\text{Even} \pm \text{Even} = \text{Even}$, $\text{Odd} \pm \text{Odd} = \text{Even}$, $\text{Even} \pm \text{Odd} = \text{Odd}$, and an integer product is odd if and only if every single factor is odd.
Last updated: August 2026

2.2 Divisibility, Prime Factorization, Factors, and Multiples

Number theory on the CLEP College Mathematics exam evaluates your understanding of integer structure, prime decomposition, factor/multiple relationships, and algebraic parity deduction. Mastering these core principles provides rapid shortcuts for arithmetic simplification, fraction reduction, and algebraic proof questions.


1. Fast Divisibility Rules & Modular Tests

Divisibility rules allow you to determine whether an integer $n$ is divisible by a divisor $d$ without executing long division.

DivisorDivisibility ConditionMathematical JustificationIllustrative Example
2Last digit is even ($0, 2, 4, 6, 8$).$10 \equiv 0 \pmod 2$, so only units digit matters.$4,836 \implies 6$ is even (Divisible)
3The sum of all digits is divisible by $3$.$10^k = (99\dots9 + 1) \equiv 1 \pmod 3$.$7,419 \implies 7+4+1+9 = 21$ ($21 \div 3 = 7$)
4The integer formed by the last two digits is divisible by $4$.$100 = 4 \times 25 \equiv 0 \pmod 4$.$58,324 \implies 24 \div 4 = 6$ (Divisible)
5The units digit is either $0$ or $5$.$10 \equiv 0 \pmod 5$.$93,485 \implies$ ends in $5$ (Divisible)
6Divisible by both $2$ (even) AND $3$ (digit sum div by $3$).$6 = 2 \times 3$, where $\gcd(2,3) = 1$.$8,532 \implies$ even, $8+5+3+2 = 18$ (Divisible)
8The integer formed by the last three digits is divisible by $8$.$1,000 = 8 \times 125 \equiv 0 \pmod 8$.$41,128 \implies 128 \div 8 = 16$ (Divisible)
9The sum of all digits is divisible by $9$.$10^k \equiv 1 \pmod 9$.$84,978 \implies 8+4+9+7+8 = 36$ ($36 \div 9 = 4$)
10The units digit is $0$.$10 \equiv 0 \pmod{10}$.$740 \implies$ ends in $0$ (Divisible)

Composite Divisibility Rule (Coprime Factorization)

To test divisibility by a composite number $C = p \cdot q$, where $p$ and $q$ are relatively prime (meaning $\text{GCD}(p, q) = 1$):

  • Divisibility by 12: Must be divisible by both $3$ (sum of digits) and $4$ (last two digits).
  • Divisibility by 15: Must be divisible by both $3$ (sum of digits) and $5$ (ends in $0$ or $5$).
  • Divisibility by 18: Must be divisible by both $2$ (even) and $9$ (sum of digits div by $9$).

2. Primes, Composites & The Fundamental Theorem of Arithmetic

Definitions & Edge Cases

  • Prime Number: An integer $p > 1$ that has exactly two distinct positive divisors: $1$ and $p$.
  • Composite Number: An integer $n > 1$ that has more than two positive divisors (i.e., can be factored into $a \times b$ with $1 < a, b < n$).
  • Special Cases:
    • The number $1$ is neither prime nor composite (it is a unit).
    • The number $0$ is neither prime nor composite.
    • The number $2$ is the smallest prime and the ONLY even prime number.

The First 25 Prime Numbers ($< 100$)

2,3,5,7,11,13,17,19,23,29,31,37,41,43,47,53,59,61,67,71,73,79,83,89,972, 3, 5, 7, 11, 13, 17, 19, 23, 29, 31, 37, 41, 43, 47, 53, 59, 61, 67, 71, 73, 79, 83, 89, 97

The Fundamental Theorem of Arithmetic

Every positive integer $n > 1$ can be uniquely factored as a product of prime powers: n=p1a1p2a2p3a3pkakn = p_1^{a_1} p_2^{a_2} p_3^{a_3} \cdots p_k^{a_k} where $p_1 < p_2 < \dots < p_k$ are distinct prime numbers and each $a_i$ is a positive integer exponent. This factorization is unique up to the order of factors.

Formula for the Total Number of Positive Divisors

If the canonical prime factorization of $n$ is $p_1^{a_1} p_2^{a_2} \cdots p_k^{a_k}$, the total number of distinct positive divisors $d(n)$ is given by: d(n)=(a1+1)(a2+1)(a3+1)(ak+1)d(n) = (a_1 + 1)(a_2 + 1)(a_3 + 1)\cdots(a_k + 1)

Worked Example 1: Finding Total Divisors

Problem: Determine the total number of distinct positive divisors of $N = 360$.

  1. Decompose $360$ into prime factors: 360=36×10=(2232)×(25)=233251360 = 36 \times 10 = (2^2 \cdot 3^2) \times (2 \cdot 5) = 2^3 \cdot 3^2 \cdot 5^1
  2. Apply the divisor count formula using exponents $a_1 = 3$, $a_2 = 2$, $a_3 = 1$: d(360)=(3+1)(2+1)(1+1)=4×3×2=24d(360) = (3 + 1)(2 + 1)(1 + 1) = 4 \times 3 \times 2 = 24 Thus, $360$ has exactly $24$ positive divisors.

3. Greatest Common Divisor (GCD) & Least Common Multiple (LCM)

Definitions

  • Greatest Common Divisor ($\text{GCD}$ or $\text{GCF}$): The largest positive integer that divides both $a$ and $b$ without remainder.
  • Least Common Multiple ($\text{LCM}$): The smallest positive integer that is a multiple of both $a$ and $b$.

Prime Factorization Algorithm for GCD and LCM

Given two integers $a$ and $b$ expressed in terms of all involved prime bases: a=p1a1p2a2pkak,b=p1b1p2b2pkbka = p_1^{a_1} p_2^{a_2} \cdots p_k^{a_k}, \qquad b = p_1^{b_1} p_2^{b_2} \cdots p_k^{b_k}

  1. $\text{GCD}(a,b)$ takes the minimum exponent for each prime factor: GCD(a,b)=p1min(a1,b1)p2min(a2,b2)pkmin(ak,bk)\text{GCD}(a,b) = p_1^{\min(a_1,b_1)} p_2^{\min(a_2,b_2)} \cdots p_k^{\min(a_k,b_k)}
  2. $\text{LCM}(a,b)$ takes the maximum exponent for each prime factor: LCM(a,b)=p1max(a1,b1)p2max(a2,b2)pkmax(ak,bk)\text{LCM}(a,b) = p_1^{\max(a_1,b_1)} p_2^{\max(a_2,b_2)} \cdots p_k^{\max(a_k,b_k)}

Worked Example 2: Prime Factorization Grid Method

Problem: Find the $\text{GCD}$ and $\text{LCM}$ of $72$ and $120$.

  • Prime factorize each integer: 72=8×9=23325072 = 8 \times 9 = 2^3 \cdot 3^2 \cdot 5^0 120=12×10=233151120 = 12 \times 10 = 2^3 \cdot 3^1 \cdot 5^1
  • Extract $\text{GCD}$ (lowest exponents): GCD(72,120)=2min(3,3)3min(2,1)5min(0,1)=233150=8×3=24\text{GCD}(72, 120) = 2^{\min(3,3)} \cdot 3^{\min(2,1)} \cdot 5^{\min(0,1)} = 2^3 \cdot 3^1 \cdot 5^0 = 8 \times 3 = 24
  • Extract $\text{LCM}$ (highest exponents): LCM(72,120)=2max(3,3)3max(2,1)5max(0,1)=233251=8×9×5=360\text{LCM}(72, 120) = 2^{\max(3,3)} \cdot 3^{\max(2,1)} \cdot 5^{\max(0,1)} = 2^3 \cdot 3^2 \cdot 5^1 = 8 \times 9 \times 5 = 360

The Fundamental Product Duality Theorem

For any two positive integers $a$ and $b$: GCD(a,b)×LCM(a,b)=ab\text{GCD}(a, b) \times \text{LCM}(a, b) = a \cdot b

Verification: $24 \times 360 = 8,640$, and $72 \times 120 = 8,640$.

[!IMPORTANT] Solving for Unknown Values via Duality: If a CLEP question states: "The GCD of $x$ and $84$ is $12$, and their LCM is $504$. Find $x$," apply the duality theorem immediately: x=GCD(x,84)×LCM(x,84)84=12×50484=6,04884=72x = \frac{\text{GCD}(x, 84) \times \text{LCM}(x, 84)}{84} = \frac{12 \times 504}{84} = \frac{6,048}{84} = 72


4. Parity Arithmetic & Algebraic Deduction

Parity refers to the property of an integer being either even ($2k, k \in \mathbb{Z}$) or odd ($2k + 1, k \in \mathbb{Z}$). The CLEP frequently presents abstract algebraic questions testing parity constraints.

Parity Operational Rules

+-----------------------------------------------------------------------------+
|                        PARITY ARITHMETIC RULES MATRIX                       |
|                                                                             |
|   ADDITION / SUBTRACTION               MULTIPLICATION                       |
|   Even +/- Even = Even                 Even x Even = Even                   |
|   Odd  +/- Odd  = Even                 Even x Odd  = Even                   |
|   Even +/- Odd  = Odd                  Odd  x Odd  = Odd                    |
|                                                                             |
|   EXPONENTIATION (for integer n >= 1)                                       |
|   (Even)^n = Even                      (Odd)^n = Odd                        |
+-----------------------------------------------------------------------------+

Core Deduction Principles

  1. Odd Product Rule: The product of two or more integers is odd if and only if EVERY factor is odd. If even a single factor is even, the entire product is even.
  2. Even Sum Rule: The sum of any number of integers is odd if and only if there is an odd number of odd terms.
  3. Consecutive Integer Parity: In any set of $n$ consecutive integers, exactly one integer is divisible by $n$. For any two consecutive integers $k$ and $k+1$, exactly one is even and one is odd; their product $k(k+1)$ is always even.

Worked Example 3: Algebraic Parity Deduction

Problem: Let $m$ be an odd integer and $n$ be an even integer. Determine whether the expression $\mathcal{A} = m^2 + n^2 + 2m$ must be even or odd.

  1. Evaluate $m^2$: Since $m$ is odd, $m^2 = \text{Odd} \times \text{Odd} = \text{Odd}$.
  2. Evaluate $n^2$: Since $n$ is even, $n^2 = \text{Even} \times \text{Even} = \text{Even}$.
  3. Evaluate $2m$: Any integer multiplied by $2$ is $\text{Even}$.
  4. Sum the components: A=Odd+Even+Even=Odd\mathcal{A} = \text{Odd} + \text{Even} + \text{Even} = \text{Odd} Therefore, $m^2 + n^2 + 2m$ is always odd.
Test Your Knowledge

If the prime factorization of a positive integer $N$ is $2^4 \times 3^2 \times 7^1$, how many distinct positive integer divisors does $N$ have?

A
B
C
D
Test Your Knowledge

The Greatest Common Divisor of an integer $x$ and $84$ is $12$, and their Least Common Multiple is $504$. What is the value of $x$?

A
B
C
D
Test Your Knowledge

If $m$ is an odd integer and $n$ is an even integer, which of the following algebraic expressions must always represent an odd integer?

A
B
C
D