A157102 Tuple-chromatic Van der Waerden numbers.
3, 7, 7, 21, 11, 43, 15, 25, 19, 111, 23, 157, 27, 43, 31, 273, 35, 343, 39, 61, 43, 507, 47, 121, 51, 79, 55, 813, 59, 931, 63, 97, 67, 171, 71, 1333, 75, 115, 79, 1641, 83, 1807, 87, 133, 91, 2163, 95, 337, 99, 151, 103, 2757, 107, 271, 111, 169, 115, 3423, 119, 3661
Offset: 2
Keywords
Examples
a(2) = tcW(2,1,2) = W(2,2) = 3. If {1,2,3} is colored in 2 colors, then a 2 term arithmetic subsequence exists in 1 color (monochrome). a(3) = tcW(3,2,3) = 7. If {1,...,7} is colored in 3 colors, then a 3 term arithmetic subsequence exists that is colored in at most 2 colors. a(2) = (2-1)(2) + 1 = 3 a(15) = (15-1)(3) + 1 = 43.
Links
Crossrefs
Programs
-
Mathematica
Table[(x - 1) * (FactorInteger[x])[[1]][[1]] + 1, {x, 2, 100}]
Formula
a(n) = (n-1)*(smallest prime factor of n) + 1.
Comments