Non-negative integer solutions to $4ab-a-b=c^2$

The puzzle is as follows:

Problem: Find all non-negative integer solutions to $4ab-a-b=c^2$

My Progress:

There is, of course, the trivial solution of $a=b=c=0$, and I suspect there are no more (though I would not be surprised if I was wrong).

Knowing this, an equivalent problem is to find the solutions to $(4a-1)|(c^2+a)$ or, in modular arithmetic, $c^2\equiv-a~(\mathrm{mod}~(4a-1))$. In particular, the second form allows me to rule out $a=1,2,3,4,5$ as potential candidates by hand.

Now I'm stuck. Any help would be appreciated.

• See this. Because I answered there, I am reluctant to cast a first (and in my case also binding) vote to close this as a duplicate. – Jyrki Lahtonen Jul 23 '16 at 9:04

Given equation can be written as $a( 4b - 1) -1/4(4b-1) = c^2 + 1/4$
This is equivalent to $(4a -1)(4b -1) = (4c^2 + 1)$.Use modulo arithmetic now
• @NathanielB If $p$ is a prime factor of $4c^2+1$, then $-1$ is a QR modulo $p$, and therefore $p\equiv1\pmod 4$. What does that say about the prime factors of $(4a-1)(4b-1)$? – Jyrki Lahtonen Jul 23 '16 at 8:55