{'fraction_non_alphanumeric': 0.026217228464419477, 'fraction_numerical': 0.0052434456928838954, 'mean_word_length': 4.54356846473029, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
Large Subgraphs in Rainbow‐Triangle Free Colorings

Fox–Grinshpun–Pach showed that every 3‐coloring of the complete graph on n vertices without a rainbow triangle contains a clique of size Ω(n1/3log2n) that uses at most two colors, and this bound is tight up to the constant factor. We show that if instead of looking for large cliques one only tries to find subgraphs of large chromatic number, one can do much better. We show that every such coloring contains a 2‐colored subgraph with chromatic number at least n2/3 , and this is best possible. We further show that for fixed positive integers s,r with s≤r , every r‐coloring of the edges of the complete graph on n vertices without a rainbow triangle contains a subgraph that uses at most s colors and has chromatic number at least ns/r , and this is best possible. Fox–Grinshpun–Pach previously showed a clique version of this result. As a direct corollary of our result we obtain a generalization of the celebrated theorem of Erdős‐Szekeres, which states that any sequence of n numbers contains a monotone subsequence of length at least n . We prove that if an r‐coloring of the edges of an n‐vertex tournament does not contain a rainbow triangle then there is an s‐colored directed path on ns/r vertices, which is best possible. This gives a partial answer to a question of Loh.