"Squares in Arithmetic Progressions" Enrico Bombieri, Andrew Granville, and Janos Pintz (Duke Mathematical Journal 66 (1992), 369-385, reprint available at http://www.math.uga.edu/~andrew/agpapers.html)