If we choose randomly two integers $(a, b)$ from a sequence of $k$ distinct positive integers then it is always possible to find a third element in the sequence such that there is an arithmetic progression between $a$, $b$ and $c$.
If such a sequence exists what is the maximum value of $k$?