Let A and B be positive integers. Define the arithmetic sequence a0,a1,a2,… by an=An+B. Assume that there is at least one n≥0 such that an is a square. Let M be a positive integer such that M2 is the smallest square in the sequence. Prove that M<A+B.
Solution
If M≤A, then certainly MA, let there be k such that ak=M2. Then it holds that Ak+B=M2. Since 0<M−A<M, (M−A)2 is smaller than M2. It holds that (M−A)2=M2−2MA+A2=M2−A(2M−A). If k−(2M−A)≥0, then ak−(2M−A)=A(k−(2M−A))+B=(Ak+B)−2MA+A2=M2−2MA+A2=(M−A)2. But then M2 is not the smallest square in the sequence, contradiction. Therefore, k−(2M−A)< 0. This implies A(k−(2M−A))+B<B, or (M−A)2<B. Since M−A is positive, we can conclude that M−A<B, or M<A+B.
Want a route through all this instead of an archive? The track
puts 2,000 problems in a working order, from AMC 10 level to the IMO shortlist.
Source: NuminaMath-1.5,
licensed Apache-2.0.
Statement and solution reproduced as published; topic and difficulty added by this site.