Euclid's Lemma for Prime Divisors/General Result/Proof 3

Proof
Suppose:
 * $\forall i \in \left\{{1, 2, \ldots, r}\right\}: p \nmid a_i$

By Prime not Divisor implies Coprime:
 * $\forall i \in \left\{{1, 2, \ldots, r}\right\}: p \perp a_i$

By Integer Coprime to all Factors is Coprime to Whole:
 * $p \perp n$

By definition of coprime:
 * $p \nmid n$