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.
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.
Terms
- a(0) =1a(1) =1a(2) =2a(3) =1a(4) =1a(5) =2a(6) =2a(7) =3a(8) =3a(9) =1a(10) =1a(11) =2a(12) =1a(13) =1a(14) =2a(15) =2a(16) =3a(17) =3a(18) =2a(19) =3a(20) =3a(21) =4a(22) =4a(23) =5a(24) =4a(25) =4a(26) =5a(27) =1a(28) =1a(29) =2
External references
- oeis: A100480