I want to solve the equation $y+x=x^2$: $$ x^2-x-y=0 \\ x_{1;2}=\frac{1\pm \sqrt{1+4y}}{2} $$
However I want the solutions to be only natural numbers; the question then turns to find values of $y$ such that $1+4y$ is always a square number. I have no idea how to solve this problem.
Could anyone help me?
If $1+4y$ is a square, it means that there exists $z\in \Bbb N$ such that $$z^2=1+4y.$$ Therefore, solving for $y$, $$y=\frac{z^2-1}{4},$$ and that is the expression of the $y$'s you are looking for.