Define the function $g:\mathbb N \rightarrow \mathbb N$ with $g(d)= d^2 + d + 1$
I started out by assuming that if two arbitrary elements of $\mathbb N$, $x$ and $y$,where $x>y$ without loss of generality, then $g(x)=g(y)$. So \begin{align*}x^2 + x + 1 &= y^2 + y + 1\\ (x+1)(x-1)&=(y+1)(y-1)\\ x^2 + x &= y^2 + y.\end{align*}
I've tried rearranging the equation like this to try and find the contradiction. Am I on the right track? Any hints or advice would be appreciated.