The sum of the reciprocals of the primes diverges (Erdős's proof, in natural-number form)
import /Freeks/5.book
The sum of the reciprocals of the primes diverges (Erdős's proof). We avoid fractions and write everything in terms of counts of natural numbers. The foundation is 5.book (sets and counting) together with the basics of divisibility and primes (the same as in 17.book).
1 Preliminaries: products and order
2 Divisors and primes
word(ss,p) …
\(\mid\)∣. …
\(d \mid n \Longleftrightarrow \exists k \in \mathbb{M} . n = d \cdot k\) Prime: a natural number at least 2 whose only divisors are 1 and itself.
word(,s) …
\(\mathbb{P}\)ℙ.' …
\(p \in \mathbb{P} \Longleftrightarrow p \in \mathbb{M} ^{\times} , 2 \le p , \forall d \in \mathbb{M} ^{\times} . ( d \mid p \Longrightarrow d = 1 \mathbin{\rm o\!r} d = p )\) 3 Existence of prime factors
If \(n\), at least 2, is not prime, it has a divisor other than \(1\) and \(n\), namely \(d\) (\(2 \le d < n\)), and a prime factor of \(d\) is a prime factor of \(n\) (by strong induction on \(n\), SIND).
Lpf …
\(n \in \mathbb{M} , 2 \le n \Longrightarrow \exists p \in \mathbb{P} . p \mid n\) \(\blacktriangleleft\) ⋅0𝕄 ,⋅0X ,∣R ,ℙ.' ,⋅𝕄:D ,\(\mathbb{W}.\) ,Axℤ