Wednesday, January 14, 2026

2025/007) Can two different primes $p\ne q$ satisfy $p^q−q^p=1$

Because difference is one one of the term is even and other is odd . So either p or q (being prime) is 2.

Let p = 2

so $2^q-q^2$, $q =3$ gives $-1$,$ q = 5$ gives $7$ and this keeps going increasing so no solution

Now let us check with $q = 2$ 

So $ p^2 -2^p$  $p =3$ satisfies$ p = 5$ gives $-7$ and larger p gives smaller value decreasing so no more solution

So only solution $p =3, q = 2$

No comments: