Abstract
If we want to color \(1,2,\ldots ,n\) with the property that all 3-term arithmetic progressions are rainbow (that is, their elements receive 3 distinct colors), then, obviously, we need to use at least n/2 colors. Surprisingly, much fewer colors suffice if we are allowed to leave a negligible proportion of integers uncolored. Specifically, we prove that there exist \(\alpha ,\beta <1\) such that for every n, there is a subset A of \(\{1,2,\ldots ,n\}\) of size at least \(n-n^{\alpha }\), the elements of which can be colored with \(n^{\beta }\) colors with the property that every 3-term arithmetic progression in A is rainbow. Moreover, \(\beta \) can be chosen to be arbitrarily small. Our result can be easily extended to k-term arithmetic progressions for any \(k\ge 3\).
As a corollary, we obtain a simple proof of the following result of Alon, Moitra, and Sudakov, which can be used to design efficient communication protocols over shared directional multi-channels. There exist \(\alpha ',\beta '<2\) such that for every n, there is a graph with n vertices and at least \(\left( {\begin{array}{c}n\\ 2\end{array}}\right) -n^{\alpha '}\) edges, whose edge set can be partitioned into at most \(n^{\beta '}\)induced matchings.
Similar content being viewed by others
References
N. Alon, Testing subgraphs in large graphs, in: Proc. 42nd IEEE Annual Symposium of Foundations of Computer Science (FOCS), IEEE (2001), pp. 434–441; also: Random Structures Algorithms, 21 (2002), 359–370
Alon, N., Moitra, A., Sudakov, B.: Nearly complete graphs decomposable into large induced matchings and their applications. J. European Math. Soc. 15, 1575–1596 (2013)
N. Alon and A. Shapira, Testing subgraphs in directed graphs, in: Proc. 35th ACM Symposium on Theory of Computing (STOC), ACM Press (2003), pp. 700–709; also: JCSS, 69 (2004), 354–382
N. Alon and A. Shapira, A characterization of easily testable induced subgraphs, in: Proc. of the Fifteenth Annual ACM-SIAM SODA (2004), pp. 935–944; also: Combin. Probab. Comput., 15 (2006), 791–805
Behrend, F.A.: On sets of integers which contain no three terms in arithmetic progression. Proc. Nat. Acad. Sci. USA 32, 331–332 (1946)
Birk, Y., Linial, N., Meshulam, R.: On the uniform-traffic capacity of single-hop inter-connections employing shared directional multichannels, IEEE Trans. Information Theory 186–191 (1993)
E. Fischer, I. Newman, S. Raskhodnikova, R. Rubinfeld, and A. Samorodnitsky, Monotonicity testing over general poset domains, in: Proc. 34th ACM Symposium on Theory of Computing (STOC) (2002), 474–483
Fox, J., Huang, H., Sudakov, B.: On graphs decomposable into induced matchings of linear sizes. Bull. London Math. Soc. 49, 45–57 (2017)
H├Ñstad, J., Wigderson, A.: Simple analysis of graph tests for linearity and PCP. Random Structures Algorithms 139–160 (2003)
Hoeffding, W.: Probability inequalities for sums of bounded random variables. J. Amer. Statist. Assoc. 58, 13–30 (1963)
Roth, K.: Sur quelques ensembles d'entiers. C. R. Acad. Sci. Paris 234, 388–390 (1952)
I. Ruzsa and E. Szemerédi, Triple systems with no six points carrying three triangles, Combinatorics (Proc. Fifth Hungarian Colloq., Keszthely, 1976), Colloq. Math. Soc. J├ínos Bolyai, vol. 18, North-Holland (Amsterdam–New York, 1978), pp. 939–945
Szemerédi, E.: On sets of integers containing no \(k\) elements in arithmetic progression. Acta Arith. 27, 199–245 (1975)
E. Szemerédi. Regular partitions of graphs, in: Problèmes combinatoires et théorie des graphes (Colloq. Internat. CNRS, Univ. Orsay, Orsay, 1976), CNRS (Paris, 1978), pp. 399–401
van der Waerden, B.L.: Beweis einer Baudetschen Vermutung. Nieuw. Arch. Wisk. 15, 212–216 (1927)
Acknowledgements
We would like to thank Benny Sudakov for valuable discussions and the anonymous referee for useful comments and suggestions.
Author information
Authors and Affiliations
Corresponding author
Additional information
Dedicated to Endre Szemerédi on his 80th birthday
Research partially supported by the National Research, Development and Innovation Office, NKFIH, project KKP-133864, the Austrian Science Fund (FWF), grant Z 342-N31
Research partially supported by the Ministry of Educational and Science of the Russian Federation in the framework of MegaGrant no. 075-15-2019-1926.
Research supported by SNSF grant 200021-175573.
Rights and permissions
About this article
Cite this article
Pach, J., Tomon, I. Colorings with only rainbow arithmetic progressions. Acta Math. Hungar. 161, 507–515 (2020). https://doi.org/10.1007/s10474-020-01076-9
Received:
Revised:
Accepted:
Published:
Issue Date:
DOI: https://doi.org/10.1007/s10474-020-01076-9