How to prove that $7p + 3^p -4$ is not a perfect square?
I calculated: $\left(\frac{7p+3^p-4}{p}\right) = \left(\frac{-1}{p}\right)$. So if $p \equiv 3 \mod 4$, the result is $-1$. So in that case, $7p+3^p -4$ can't be a square. But what about the case $p \equiv 1 \mod 4$? Any hints? Thanks in advance.
If $p=4k+1$, then:
$$7p+3^p-4\equiv -1+(-1)\pmod{4}=-2\pmod{4}.$$
But perfect squares must be 0,1 mod 4.