Just recently, I had an equation on my hands that I thought had no solutions: Why $4b^3p=2a^2+qb$ has no solutions for integers $a,b$ and two odd primes $p<q$?
I was on a wrong path and now have an equation $4b^3pq=2a^2+b$ that really do not brings me any non-zero integer solution $a,b$ where $2<p<q$ are odd primes. What I see is that $b$ must be even and when I substitute $b=2t$ I have to solve $0=16t^3pq-t-a^2$ for $t$ (quadratic equation) and analyze the discriminant?
The correct resulting equation is of substituting $b=2t$ is: $$16t^3pq=a^2+t$$
We transform our equation to: $$(16t^2pq-1)t = a^2$$
Let $\ell$ be any prime factor of $t$, and let $\ell^n$ be the highest power of $\ell$ that divides $\color{red}{a}$. Then $\ell^{2n}$ is the highest power of $\ell$ that divides $a^2$; now $\ell$ does not divide $16t^2pq - 1$ at all, so $\ell^{2n}$ must also be the highest power of $\ell$ that divides $t$.
Since $\ell$ is arbitrary, we conclude that $t$ is in fact a square, say $t = g^2$. Then our equation becomes: $$(16g^4pq-1)g^2 = a^2$$
which gives: $$16g^4pq-1 = \left(\frac ag\right)^2$$
which is impossible, since the squares mod $16$ are $0, 1, 4, 9$.