Sum of Two Triangular Numbers?

60 Views Asked by At

What numbers can be written as the sum of two triangular numbers? i.e.,

$$\frac{x(x+1)}{2}+\frac{y(y+1)}{2}=z $$

$4z+1$ is either the sum of two squares or itself a square. Why?