Let $P(x;a,b) := \{an+b, 0\leq n \leq x \} $ denote an arithmetic progression. Further let $A(x;a,b)$ denote the number of elements of $P(x;a,b)$ that are squares. It's an old conjecture of Rudin that $A(x;a,b) \ll x^{1/2}$. Less ambitiously, Erdős posed the problem of showing that $A(x;a,b) = o(x)$. This was proven by Szemeredi around 1974 (amusingly the paper is only a few sentences).

Here is Szemeredi's proof: If the theorem was false then we could find arbitrarily large arithmetic progressions composed of at least $\delta>0$ percent squares. Then invoking the 4 case of Szemeredi's (most well-known) theorem we have that there must be a length 4 arithmetic progression consisting of only squares. However, this contradicts an old theorem of Euler.

While this proof is slick, it is natural to want to avoid having to use anything as powerful as Szemeredi's theorem. I recently I ran across the paper "On the Number of Squares in an Arithmetic Progression" by Saburo Uchiyama (*Proc. Japan Acad*. 52, no. 8 (1976), 431-433). The complete paper is freely available here. The paper claims to give a simple and self-contained solution to Erdős' question (that $A(x;a,b) = o(x)$). In fact, the proof given is so short that I will repost it in its entirety:

Now I don't follow the claim that "This clearly proves (1)." (where (1) is the claim that $A(x;a,b) = o(x)$). Certainly when $a=o(x)$ this gives the desired result, but why does this work when $a$ is large?

Since this is so short and simple (and I have never seen the argument cited anywhere) I am skeptical, however perhaps I am missing something obvious.

(Perhaps, it should be pointed out that there is a more recent approach to the problem that yields better quantitative bounds that goes through Falting's theorem due to Bombieri, Granville and Pintz. In fact, their analysis shows that the case when $a$ is large compared to $x$ is the 'hard case', which raises further suspicion of the above argument.)

4more comments