Given 7 distinct positive integers, prove that there is an infinite arithmetic progression of positive integers , with , that contains exactly 3 or 4 of the 7 given integers.
Solution
Let the numbers be in ascending order. Let denote the arithmetic progression (AP) with initial term , common difference and .
We first show that there is an AP that contains , i.e. , . For example, we can take . Choose such an AP with maximal . Then not all can be even, or else we can use the AP , contradicting the choice of . Also, not all can be odd, or else we can use .
We have two cases.
(i) At least 3 of are odd: use .
(ii) At least 3 of are even: use .
In either case, we have an AP that contains exactly 3 or 4 of . Note that is a 'sub-AP' of .
Next, we show that there is an AP that contains exactly 3 or 4 of . If contains exactly 3 of , or does not contain , then it contains exactly 3 or 4 of . We are now left with the case where contains exactly 5 of . Then we can apply the above procedure to find a 'sub-AP' that contains exactly 3 or 4 of .
The same procedure can be used again to find a 'sub-AP' of that contains exactly 3 or 4 of .