Cohn, J. H. E. “Squares in Arithmetical Progressions II”. MATHEMATICA SCANDINAVICA, vol. 52, Dec. 1983, pp. 20-23, doi:10.7146/math.scand.a-11989.