Show that : $$\forall \hspace{2mm} (k,j,m,n) \in \mathbb{N}^4 : 3kn^2 +3jn +3m+2 \notin S=\{x^2 \mid x\in \mathbb{N}\}$$ Clearly this is solvable using modular arithmetic because claiming the expression is a perfect square would yield the congruence $z^2 \equiv 2 \pmod 3$ which of course is a contradiction.
But I'm intrigued if there is a way of proving it without having to use modular arithmetic , perhaps in a more elementary way .