So I was playing around with the Euler totient function on desmos, and found that whenever the function "spikes", we can add $1$ to it and I always found a prime number. With very powerful computers or software why can't we use this for finding prime numbers?
It's my first time on this site and the question maybe stupid but can someone can please explain? Thanks in advance!
Just for fun, let's rephrase this into a theorem:
Theorem: if $\phi(n)>\phi(k)$ for all $k<n$ then $\phi(n)+1$ is prime.
Lemma: if $p$ is prime then $\phi(p)>\phi(k)$ for all $k<p$
Proof:
Let $C(m,n)=1$ if $\gcd(m,n)=1$ and $C(m,n)=0$ if $\gcd(m,n)\neq1$
Therefore $$\phi(x)=\sum_{n=1}^{x-1}C(x,n)$$
Since $p$ being prime implies $\gcd(p,k)=1$
$$\implies\phi(p)=\sum_{n=1}^{x-1}\gcd(p,n)=\sum_{n=1}^{x-1}1=p-1$$
Since that is the maximal possible sum, then $\phi(p)>\phi(k)$ for all $k<p$
Therefore $\phi(n)>\phi(k)$ for all $k<n$ implies $n$ is prime.
$n$ being prime implies $\phi(n)=n-1$, therefore $\phi(n)+1$ is prime.
QED
As for using this to find more primes. It's no more efficient than a prime sieve. Specifically, as user21820 pointed out