For which integer values of $n$ does there exist an integer $m$ such that $n^{3} - m^{2} = -23$?
I'm having a lot of trouble with this one, any help would be appreciated :)
So far, I've seen that if the expression were a perfect square we would have: $n^{3} + 23 = x^{2}$ For some integer $x$. From this I've deduced that $n^{3}$ must be congruent to $x^{2}$ modulo $23$, however, I'm not sure how to proceed.
Hint: Try to prove that every perfect square is congruent to $0$ or $1(mod 4$).