A157199 The terms of this sequence are the first several terms of tcW(r,r-1,r+1), where r=2,3,4,.... Informally, the function tcW is like the multi-color Van der Waerden function W, except that the second parameter determines the number of colors found in the target subsequence. See links for definition.
9, 13, 22, 26, 44, 50, 25, 28
Offset: 2
Examples
a(2) = tcW(2,1,3) = W(2,3) = 9. If {1,...,9} is colored in 2 colors, then a 3-term arithmetic subsequence exists in 1 color (monochrome). a(3) = tcW(3,2,4) = 13. If {1,...,13} is colored in 3 colors, then a 4-term arithmetic subsequence exists in at most 2 colors.
Links
Crossrefs
Formula
a(r) = tcW(r,r-1,r+1).
Comments