Noticed that my previous two questions:
- Are there infinitely many $n$ where the (number of non coprime pairs) $-$ (number of coprime pairs) is 3?
- Euler's totient function and primes for even and odd numbers.
seem related and might possibly be combined to prove the infinitude of primes.
Theorem
There are infinitely many primes.
Proof
From $(1)$, there are infinitely many even $n$ such that $$ \varphi(n) = \frac{n-2}{2} $$ From $(2)$, if $$ \varphi(n) = \frac{n-2}{2}, \text{ then } \frac{n}{2} \text{ is prime.} $$
Since there are infinitely many such $n$, it follows that there are infinitely many primes. $\blacksquare$
Question
Is this proof valid? Can the results from my previous questions be combined in this way to prove the infinitude of primes?