MathLabs

Problem 5

Is it possible to choose 19831983 distinct positive integers, all less than or equal to 10510^5, no three of which are consecutive terms of an arithmetic progression? Justify your answer.
Step 2 of 4: Exclude an arithmetic progression
2aj=ai+ak⇒ai=ak2a_j=a_i+a_k\Rightarrow a_i=a_k
Detailed analysis

Suppose i<j<ki<j<k and 2aj=ai+ak2a_j=a_i+a_k. Every ana_n has only digits 0,10,1 in base 33, so 2aj2a_j has only digits 0,20,2 and no carries. Also ai+aka_i+a_k has no carries because each summand has only digits 0,10,1. At each digit, a 00 in 2aj2a_j forces both summands to have 00, and a 22 forces both to have 11. Hence ai=aka_i=a_k, contradicting injectivity.