Three consecutive integers which are power of prime but not prime

1k Views Asked by At

Does there exist three consecutive positive integers such that each of them is the power of a prime i.e., is there exist $n \in \mathbb{N}$, such that $n=p^i$, $n+1 = q^j$ and $n+2 = r^k$, where $p$, $q$ and $r$ are primes and $i,j,k >1$.

2

There are 2 best solutions below

4
On BEST ANSWER

No. Catalan conjecture...................

0
On

Note that either both $n$ and $n+2$ are even, or both are odd. If both are even, then $p=r=2$ and we are done. If they are both odd, $n+1$ is even and $q=2$. So $$n+1=2^j\implies n=2^j-1=p^k$$ Now look at When is $2^n\pm1$ a perfect power.