MathLabs
Step 5 of 7: Every integer greater than 1 has a prime factor
In plain words

Take any whole number greater than 1. Either it cannot be broken down into smaller factors — in which case it is already a prime itself — or you can split it into two smaller factors, and keep splitting until you hit an indivisible piece that cannot be split any further.

N>1  ⟹  ∃ q∈P:q∣NN > 1 \implies \exists\, q \in \mathbb{P} : q \mid N
Detailed analysis

Because N=p1p2⋯pn+1≥3>1N = p_1 p_2 \cdots p_n + 1 \ge 3 > 1, there are two cases for NN, just as Euclid distinguishes in Book IX, Proposition 20: "Then EFEF is either prime or not." If NN is prime, then q=Nq = N is a prime divisor of NN (since N∣NN \mid N). If NN is composite, Euclid invokes Book VII, Proposition 31: "Any composite number is measured by some prime number."

Why does Book VII, Proposition 31 hold? Euclid proves it by infinite descent: if NN is composite, it has a divisor d1d_1 with 1<d1<N1 < d_1 < N. If d1d_1 is prime, we are done; if d1d_1 is composite, it has a strictly smaller divisor 1<d2<d1<N1 < d_2 < d_1 < N, and so on. As Euclid writes, "if it is not found, then an infinite sequence of numbers measures the number AA, each of which is less than the other, which is impossible in numbers." Equivalently, in modern terms, the smallest divisor q>1q > 1 of NN must be prime (otherwise a smaller divisor of qq would also divide NN). Either way, NN has at least one prime factor qq.

Terms in this step
Prime factor (prime divisor)
A divisor of a given integer that is itself a prime number (for example, the prime factors of 12 are 2 and 3).
Knowledge used in this step