As you increase the value of n, you will generate all pythagorean triples whose first square is even. Is there any visual proof of the following explicit formula and where does it come from or how to derive it?
$(2n)^2 + (n^2 - 1)^2 = (n^2 + 1)^2$
| $(2n)^2+(n^2-1)^2=(n^2+1)^2$ | $(2n)^2+(n^2-1)^2=(n^2+1)^2$ | $(2n)^2+(n^2-1)^2=(n^2+1)^2$ |
|---|---|---|
| $(2*0)^2+(0^2-1)^2=(0^2+1)^2$ | $(2*1)^2+(1^2-1)^2=(1^2+1)^2$ | $(2*2)^2+(2^2-1)^2=(2^2+1)^2$ |
| $(2*0)^2+(0-1)^2=(0+1)^2$ | $(2*1)^2+(1-1)^2=(1+1)^2$ | $(2*2)^2+(4-1)^2=(4+1)^2$ |
| $0^2+1^2=1^2$ | $2^2+0^2=2^2$ | $4^2+3^2=5^2$ |
| $0+1=1$ | $4+0=4$ | $16+9=25$ |
| $1=1$ | $4=4$ | $25=25$ |

We have the identity $a^{2}- b^{2}= \left ( a- b \right )\left ( a+ b \right )\!,$ so $$\left ( m^{2}+ 1 \right )^{2}- \left ( m^{2}- 1 \right )^{2}\!=\!2m^{2}\cdot 2= \left ( 2m \right )^{2}$$