This is from contest preparation:
Find all pairs of primes $(p, q)$ that satisfy
$$p^q - q^p = p q^2 - 19$$.
It looks simple, but I spent hours trying to solve it... and no luck so far.
NOTE: There are similar MSE Q&Ąs here and here. Perhaps someone could apply some ideas from there.
We have a diophantine equation involving prime numbers. Therefore it makes sense to try to solve the problem with the help of techniques and theorems from this particular field of mathematics. I refer to the answer posted by Hagen von Eitzen.
However, we can also see the problem as a fairly simple math puzzle, and solve it with common sense and elementary mathematical considerations.
The right hand side of the equation has a cubic term and a constant. The left hand side has two terms with (in general) much higher powers. So if we plug in some random values, e.g. $p=7$ and $q=11$, then the absolute value of the LHS will be many orders of magnitude larger than the RHS. Even when the difference between $p$ and $q$ is minimal, the LHS increases much more rapidly than the RHS. Thus there is a strict limit on the maximum value for the smallest of the pair $(p, q)$.
It turns out that $3$ is the critical value. However if we try $(p,q) = (3,5)$, then the LHS is already too large. This effect only increases for larger $q$. From this we conclude that there can be only be solutions if the smallest value equals $2$. [In fact there is also a solution $p=1$ and $q=4$, but these are not prime numbers.]
Case 1. $p=2$. This leads to the equation $f = 2^q - 3q^2 + 19 = 0$. We can easily verify that the function has (roughly) a parabolic shape, and thus there are at maximum two solutions. These are indeed found for $q=3$ and $q=7$.
Case 2. $q=2$. This leads to the equation $g = 2^p -p^2 + 4p -19 = 0$. This function appears to be monotonically increasing. So there is at most one solution. We can verify that $g$ has indeed a zero for a real value of $p$ larger than $4$, smaller than $5$. It follows that there are no solutions where $p$ is a natural number (prime).