For which $a$, does $p^2+p+(a-1)$ have only rational solutions?
The roots of $p^2+p+(a-1)$ are $\frac{-1+\sqrt{(5-4a)}}{2}$ and $\frac{-1-\sqrt{(5-4a)}}{2}$, and they are rational iff $\sqrt{5-4a}$ is rational, then iff $5-4a$ is a square of some rational. Then what?