I was reading a pdf (Progressions of Squares by Tom C. Brown1, Allen R. Freedman2, and Peter Jau-Shyong Shiue2) (link: https://www.sfu.ca/~vjungic/tbrown/tom-9.pdf) and there the author on Page no. 1, Introduction paragraph 1 says: three-term arithmetic progressions occur in abundance among the squares: take any Pythagorean triple, a$^2$+b$^2$ = c$^2$; then (b-a) $^2$; c$^2$;(b + a) $^2$ is clearly a 3-term AP with common difference 2ab. It’s also easy to show that every 3-term AP of squares has this form.
I am trying to prove the last line of this statement but so far not able to proceed farther then this
2b$^2$ = a$^2$ + c$^2$ when a$^2$, b$2$, c$^2$ are in A.P and gcd(a,b,c) = 1.
Claim: The common difference of the given A.P. is even.
Proof: Since, all a, b, and c can't be even as gcd(a,b,c) = 1. Therefore, at least one of them is odd. Since, 2b$^2$ = a$^2$ + c$^2$. Therefore R.H.S. of this equation must be even as L.H.S. is even. Possible parity of (a,c) is either (even,even) or (odd,odd). If (a,c) = (even,even) and since one of them must be odd. Therefore, b is odd. But L.H.S is only divisible by 2 while R.H.S. is divisible by 4, which is not possible. Therefore, (a,c) = (odd,odd). And hence, all three a, b and c are odd. And there common difference is even