The OEIS Foundation is supported by donations from users of the OEIS and by a grant from the Simons Foundation.

A100480

a(1)=1 and, for n>1, a(n) is the smallest positive integer such that the subset S(c) of {1,2,3,...,n} defined by S(c)={k|1<=k<=n; a(k)=c} does not contain a 3-term arithmetic progression for any integer c.