I am trying to find integers $N$ that satisfy the following relationship:
$$N^2 - N = 2a^2 + 2a$$
for some integer $a$. I have computationally verified that such numbers do exist. But finding large values of such $N$ is computationally expensive. It feels like this is a simple undergrad discrete math problem, but I am having an unusally hard time finding solutions to this.