They've $\rm\color{#c00}{swapped}$ quantifiers $\forall$ (forall) and $\exists$ (exists), which alters the meaning.
Namely if $\,n>1\,$ denotes a natural and $\,p\,$ a natural prime then they state
$(a)_{\phantom{|_|}} \ \ \color{#c00}{\forall\, n}\ \exists\ p\!:\,\ p\mid n,\ $ i.e. every $\,n>1\,$ has a prime factor $\,p\ \,$ [$p = p_n$ may depend upon $\,n$]
$(b)\ \ \ \ \exists\, p\ \ \color{#c00}{\forall n}\!:\,\ p\mid n,\ $ i.e. some fixed prime $\,p\,$ divides every $n>1\ \ \ $ [$p$ is independent of $\,n$]
Remark $ $ If you know some calculus you might find it instructive to examine the effect of permuting the quantifiers in the definition of continuity and differentiability. In the 1980 Monthly paper Differentiability and Permutations of Quantifiers by Thomas Whaley & Judson Williford, they show that all $\,5! = 120\,$ permutations of quantifiers in the differentiability formula - which has the form $\, \forall a \,\exists b \,\forall c \,\exists \delta \,\forall x\ P(a,b,c,\delta,x) $ - leads only to one of the following $4$ classes of functions.
$(1)\ \ $ the class of all functions.
$(2)\ \ $ the class of differentiable functions.
$(3)\ \ $ the class of differentiable functions with uniformly continuous derivatives.
$(4)\ \ $ the class of linear functions.
Below is an excerpt showing the precise formula conisdered.

Note $\ $ The number of alternations of quantifiers is often used a measure of the logical complexity of a statement - something you will appreciate if you attempt the above classification. One of the reasons that nonstandard analysis simplifies some calculus problems is that it reduces the number of such quantifier alternations.
\midrather than|looks nicer, as it gets a bit of spacing. And\nmidinstead of\not\midlooks nicer as well. – Arthur Nov 18 '19 at 16:15