betaFeedback

WorksMathematics

Generalized anti-Ramsey numbers

Abstract

The anti-Ramsey number was introduced by Erdős, Simonovits, and Sós and is defined to be the maximum number of colors that can be used to color the edges of a graph to avoid a rainbow copy of some graph. One can generalize this by, instead of forbidding a rainbow copy of a graph, putting a cap on the number of colors that appear on any copy of that graph. To be precise, let \AR(G,H,q) be the maximum number of colors that can be used to color E(G)E(G) so that every copy of HH sees at most qq colors. One can see that \AR(G,H,q) is nondecreasing in qq. In this paper, we investigate the linear and quadratic thresholds of \AR(G,H,q) when G=KnG=K_n and HH is connected.

Introduction

Ramsey theory is of course a topic that appears in many areas of mathematics. The original questions investigated by Ramsey involved finding the minimum size of a structure that guaranteed the existence of a monochromatic substructure. Erdős, Simonovits, and Sós [9] introduced anti-Ramsey problems which ask for the maximum number of colors that can be used to color a structure to avoid a rainbow copy of some substructure. These concepts have been generalized in numerous ways since their introduction and this paper will investigate one such generalization.

Definition 1.1. The generalized Ramsey number R(G,H,q)\mathcal{R}(G,H,q) is the minimum number of colors in a coloring of E(G)E(G) such that every copy of HH receives at least qq colors. We may analogously define the generalized anti-Ramsey number R(G,H,q)\mathcal{R}(G,H,q) as the maximum number of colors in a coloring of E(G)E(G) such that every copy of HH receives at most qq colors.1

Note that for R(G,H,q)\mathcal{R}(G,H,q), the case q=2q=2 corresponds to the classical multicolor Ramsey problem. For R(G,H,q)\mathcal{R}(G,H,q), the case q=e(H)−1q=e(H)-1 corresponds to the classical anti-Ramsey problem. It should be noted that Mubayi and West [20] studied an even more general extension of the anti-Ramsey number where the number of colors in any copy of HH is bounded both from above and below.

These definitions can take a bit to get used to and so, in an effort to make them clearer, we note the following. Call an MM-coloring, c:E(G)→[M]c:E(G)\to[M], exact if it is surjective, i.e., if each color appears at least once. In this case, we say that E(G)E(G) has been exactly colored with MM colors. Then:

  • R(G,H,q)≤M\mathcal{R}(G,H,q)\le M means that there exists an MM-coloring of E(G)E(G) such that every copy of HH receives at least qq colors.

  • R(G,H,q)>M\mathcal{R}(G,H,q)>M means that every MM-coloring of E(G)E(G) contains a copy of HH with at most q−1q-1 colors.

  • R(G,H,q)<M\mathcal{R}(G,H,q)<M means that every exact MM-coloring of E(G)E(G) contains a copy of HH with at least q+1q+1 colors.

  • R(G,H,q)≥M\mathcal{R}(G,H,q)\ge M means that there exists an exact MM-coloring of E(G)E(G) such that every copy of HH receives at most qq colors.

We give a short and incomplete history of generalized Ramsey numbers before moving on to anti-Ramsey problems. The problem of determining R(Kn,Kk,q)\mathcal{R}(K_n,K_k,q) was first introduced by Erdős and Shelah (see [8]) and the first results were found by Elekes, Erdős, and Füredi (see [11]). Erdős and Gyárfás [12] then found the linear and quadratic thresholds for R(Kn,Kk,q)\mathcal{R}(K_n,K_k,q), i.e., the smallest qq for which R(Kn,Kk,q)=Ω(n)\mathcal{R}(K_n,K_k,q)=\Omega(n) and Ω(n2)\Omega(n^2), respectively. Axenovich, Füredi, and Mubayi [4] investigated thresholds for R(Kn,n,Kk,k,q)\mathcal{R}(K_{n,n},K_{k,k},q) and, more recently, Krueger [16] studied thresholds for R(Kn,Pk,q)\mathcal{R}(K_n,P_k,q). The first author, along with Bennett, Heath, and Zerbib [6] generalized the problem further to requiring that each graph in some set sees at least qq colors, and also to the hypergraph setting. Throughout the paper, unless otherwise stated, assume that target graphs HH are fixed in asymptotic statements and that nn is sufficiently large.

The story of generalized anti-Ramsey numbers begins with Erdős, Simonovits, and Sós [9] who introduced the classical anti-Ramsey number, R(G,H,e(H)−1)\mathcal{R}(G,H,e(H)-1). They conjectured that

R(Kn,Ck,k−1)=n(k−22+1k−1)+O(1),\mathcal{R}(K_n,C_k,k-1)=n\left(\frac{k-2}{2}+\frac{1}{k-1}\right)+O(1),

and proved the k=3k=3 case. Alon [3] proved the k=4k=4 case, and Jiang and West [14] improved the general lower bound, before Montellano-Ballesteros and Neumann-Lara [19] resolved the full conjecture.

Theorem 1.2 (Montellano-Ballesteros, Neumann-Lara). For all n≥k≥3n\ge k\ge3, we have

R(Kn,Ck,k−1)=n(k−22+1k−1)+Ok(1).\mathcal{R}(K_n,C_k,k-1)=n\left(\frac{k-2}{2}+\frac{1}{k-1}\right)+O_k(1).

Jiang [13] studied the problem when HH is a star. We let Sr+1S_{r+1} be the star with r+1r+1 leaves, i.e., K1,r+1K_{1,r+1}. Jiang proved that if r≤n−2r\le n-2, then

R(Kn,K1,r+1,r)=⌊n2(r−1)⌋+⌊nn−r+1⌋+ϵ,\mathcal{R}(K_n,K_{1,r+1},r)=\left\lfloor\frac{n}{2}(r-1)\right\rfloor+\left\lfloor\frac{n}{n-r+1}\right\rfloor+\epsilon,

where ϵ∈{0,1}\epsilon\in\{0,1\}. Note that this also gives the generalized anti-Ramsey number for the star: every K1,rK_{1,r} sees at most qq colors is equivalent to containing no rainbow K1,q+1K_{1,q+1}. Jiang and West [14] investigated the anti-Ramsey problem where HH is a tree or indeed a family of trees. They showed that if TT is a tree with kk edges and n≥2kn\ge2k, then

n2⌊k−22⌋+ck≤R(Kn,T,k−1)≤n(k−1),\frac{n}{2}\left\lfloor\frac{k-2}{2}\right\rfloor+c_k\le\mathcal{R}(K_n,T,k-1)\le n(k-1),

where ckc_k is a constant depending only on kk.

As with generalized Ramsey numbers, we will be interested in the behavior of R(Kn,G,q)\mathcal{R}(K_n,G,q) for a fixed graph GG as qq increases. Note that

  1. R(Kn,G,1)=1\mathcal{R}(K_n,G,1)=1, provided that e(G)≥2e(G)\ge2 and n≥n(G)n\ge n(G), and

R(Kn,G,e(G))=(n2)(1)\mathcal{R}(K_n,G,e(G))=\binom{n}{2} \tag*{(1)}

since in the first case, one can use at most one color on the edges of KnK_n, and in the second, every edge of KnK_n can receive a different color. So, for a given graph GG, we will investigate the smallest integer qq for which R(Kn,G,q)=Ω(n)\mathcal{R}(K_n,G,q)=\Omega(n), which we will call the linear threshold. Similarly, we will be interested in finding the quadratic threshold as well.

Perhaps the most studied question in this vein is that of determining R(Kn,Kp,q)\mathcal{R}(K_n,K_p,q) for various values of nn, pp, and qq. We begin with a construction that gives a lower bound.

Example 1.3. Suppose the vertices of KnK_n are labeled {1,2,…,n}\{1,2,\ldots,n\}. We get an edge-coloring of KnK_n by letting edge ijij for i<ji<j be colored ii. Then note that any KpK_p for 1≤p≤n1\le p\le n sees exactly p−1p-1 colors since the edges are colored with colors corresponding to the vertex labels except for the largest one.

Note that Example 1.3 gives that R(Kn,Kp,p−1)≥n−1\mathcal{R}(K_n,K_p,p-1)\ge n-1. Erdős, Simonovits, and Sós [9] proved that equality holds for p=3p=3. Ahlswede, Cai, and Zhang [2] then showed equality holds for all pp. In fact, Ahlswede, Cai, and Zhang gave a result that covers other values of qq as well. We let t(n,k)t(n,k) be the Turán number, so that it is the number of edges in the Turán graph, T(n,k)T(n,k).2

Theorem 1.4 (Ahlswede, Cai, Zhang). If n≥p≥3n\ge p\ge3, k≥1k\ge1 and 1≤q′≤⌊⌊p/k⌋/2⌋1\le q'\le\lfloor\lfloor p/k\rfloor/2\rfloor, we have

R(Kn,Kp,t(p,k)+q′)=t(n,k)+q′.\mathcal{R}(K_n,K_p,t(p,k)+q')=t(n,k)+q'.

Very roughly speaking, this result states that if k≥2k\ge2, the number of colors that a KpK_p sees is roughly quadratic in pp (about (1−1/k)p2/2(1-1/k)p^2/2), then the generalized anti-Ramsey number is quadratic in nn.

Axenovich and Kündgen [5] investigated a generalization of this problem and noted that R(Kn,Kp,q)=O(n)\mathcal{R}(K_n,K_p,q)=O(n) if and only if 1≤q≤p−11\le q\le p-1. In so doing, they noted that there are constructions of graphs with girth p+1p+1 and at least cn1+εcn^{1+\varepsilon} edges. (See, e.g., [17].) If one colors the edges of such a graph with all different colors and its complement with one additional color, one gets a coloring with a super-linear number of colors in which every KpK_p sees at most pp colors. In other words, we get

R(Kn,Kp,p)≥cn1+ε.\mathcal{R}(K_n,K_p,p)\ge cn^{1+\varepsilon}.

In the case p=3p=3, all cases are covered by the results outlined above. In particular, we have R(Kn,K3,2)=n−1\mathcal{R}(K_n,K_3,2)=n-1 by the result of Erdős, Simonovits, and Sós as of course C3=K3C_3=K_3. In the case p=4p=4, we know R(Kn,K4,3)=n−1\mathcal{R}(K_n,K_4,3)=n-1. However, the case q=4q=4 is not covered by any of these results. It has been shown that

R(Kn,K4,4)=Θ(n3/2).\mathcal{R}(K_n,K_4,4)=\Theta(n^{3/2}).

where the lower bound comes from a result of Erdős [7] that there is a graph GG on nn vertices with girth five and at least cn3/2cn^{3/2} edges. The upper bound follows from a result of Montellano-Ballesteros [18] on the anti-Ramsey number of diamonds.

In this paper, we investigate several problems related to the generalized anti-Ramsey number R(G,H,q)\mathcal{R}(G,H,q). In § 2, we present some results when GG is complete and HH is a path or a cycle. In § 3, we prove our main result, in which we determine the linear threshold for connected graphs. We write Δ(G)\Delta(G) for the maximum degree of a graph GG and ν(G)\nu(G) for the maximum size of a matching in GG.

Theorem 1.5. Let GG be a connected graph on at least 3 vertices and suppose k=min⁡{ν(G),Δ(G)}k=\min\{\nu(G),\Delta(G)\}. Assuming nn is sufficiently large, we have

  1. R(Kn,G,k)≤(k+2)(k+1)\mathcal{R}(K_n,G,k)\le(k+2)(k+1), and

  2. R(Kn,G,k+1)=Ω(n)\mathcal{R}(K_n,G,k+1)=\Omega(n).

In § 4 we prove the following theorem which determines the quadratic threshold for any graph GG, which depends on whether GG is bipartite or not.

Theorem 1.6. Let GG be a graph on vv vertices with e(G)≥2e(G)\ge2 and suppose that kk is the number of edges in the largest bipartite subgraph of GG. Then

  1. if GG is bipartite, then k=e(G)k=e(G) and R(Kn,G,k−1)=O(n2−2/v)\mathcal{R}(K_n,G,k-1)=O(n^{2-2/v}) and R(Kn,G,k)=(n2)\mathcal{R}(K_n,G,k)=\binom{n}{2}, and

  2. if GG is nonbipartite, then R(Kn,G,k)=O(n2−1/(v+1))\mathcal{R}(K_n,G,k)=O(n^{2-1/(v+1)}) and R(Kn,G,k+1)=Ω(n2)\mathcal{R}(K_n,G,k+1)=\Omega(n^2).

Paths and Cycles

In this section, we investigate and gather results about R(Kn,Pk,q)\mathcal{R}(K_n,P_k,q) and R(Kn,Ck,q)\mathcal{R}(K_n,C_k,q) for various nn, kk, and qq. Much of this will follow from classical results, but we believe there is some value in collecting it for reference. Throughout this section, we’ll be interested in determining the asymptotics of R(Kn,Pk,q)\mathcal{R}(K_n,P_k,q) and R(Kn,Ck,q)\mathcal{R}(K_n,C_k,q) as nn goes to infinity.

We’ll start with paths. It is trivial that R(Kn,Pk,k−1)=R(Kn,Pk,e(Pk))=(n2)\mathcal{R}(K_n,P_k,k-1)=\mathcal{R}(K_n,P_k,e(P_k))=\binom{n}{2} as there is no restriction on the coloring in this case. But note that R(Kn,Pk,k−2)\mathcal{R}(K_n,P_k,k-2) corresponds exactly to the classical anti-Ramsey question as by stipulating that each PkP_k sees at most k−2k-2 colors is equivalent to containing no rainbow PkP_ks.

Erdős, Simonovits, and Sós [9] proved the following.

Theorem 2.1 (Erdős, Simonovits, Sós). Let t≥0t\ge0 be a given integer, ε∈{0,1}\varepsilon\in\{0,1\}, and k=2t+3+εk=2t+3+\varepsilon. Then, if nn is large, we have

R(Kn,Pk,k−2)=tn−(t+12)+1+ε.\mathcal{R}(K_n,P_k,k-2)=tn-\binom{t+1}{2}+1+\varepsilon.

The proof appeared in a paper of Simonovits and Sós [21]. Further, Erdős, Simonovits, and Sós made a conjecture about the behavior for all nn. The full conjecture has been resolved by Yuan [22].

Note that, for any graph GG, we have that R(Kn,G,q)\mathcal{R}(K_n,G,q) is monotone in subgraphs. To be precise, we have the following.

Proposition 2.2. If HH is a subgraph of GG and n≥∣V(G)∣n\ge|V(G)|, then

R(Kn,G,q)≤R(Kn,H,q).\mathcal{R}(K_n,G,q)\le\mathcal{R}(K_n,H,q).

Proof. To see this, observe that if there exists an MM-coloring of KnK_n such that every copy of GG receives at most qq colors, then certainly every copy of HH receives at most qq colors.

But then for all ℓ≥k\ell\ge k, by Proposition 2.2, since Pℓ⊇PkP_\ell\supseteq P_k, we know R(Kn,Pℓ,k−2)=R(Kn,Pk,k−2)\mathcal{R}(K_n,P_\ell,k-2)=\mathcal{R}(K_n,P_k,k-2) as the construction that works for smaller paths also works for longer paths. Thus, we can give the asymptotics of R(Kn,Pk,q)\mathcal{R}(K_n,P_k,q) for all values of kk and qq by combining Theorem 2.1 and Proposition 2.2. Note that we assume that q≤k−2q\le k-2 since if q=k−1q=k-1, we trivially have R(Kn,Pk,k−1)=(n2)\mathcal{R}(K_n,P_k,k-1)=\binom{n}{2}.

Theorem 2.3. If nn is sufficiently large, 1≤q≤k−21\le q\le k-2, and q=2t+1+εq=2t+1+\varepsilon where ε∈{0,1}\varepsilon\in\{0,1\}, then

R(Kn,Pk,q)=R(Kn,Pq+2,q)=tn−(t+12)+1+ε.\mathcal{R}(K_n,P_k,q)=\mathcal{R}(K_n,P_{q+2},q)=tn-\binom{t+1}{2}+1+\varepsilon.

Proof. As noted above, we have that R(Kn,Pk,q)≤R(Kn,Pq+2,q)\mathcal{R}(K_n,P_k,q)\le\mathcal{R}(K_n,P_{q+2},q) by Proposition 2.2. Then, in Theorem 2.1, we have k=2t+3+εk=2t+3+\varepsilon so that if k=q+2k=q+2, we know q=2t+1+εq=2t+1+\varepsilon, and so the second equality holds. We end by showing a construction that gives the result. This is a construction due to Erdős, Simonovits, and Sós [9]. Choose tt vertices in KnK_n, say x1,x2,…,xtx_1,x_2,\ldots,x_t. Color all edges with at least one endpoint an xix_i for some ii with different colors and color all other edges (so those in V(Kn)∖{x1,…,xt}V(K_n)\setminus\{x_1,\ldots,x_t\}) with either one additional color, if ε=0\varepsilon=0, or two additional colors, if ε=1\varepsilon=1. Then any PkP_k sees at most 2t+1+ε=q2t+1+\varepsilon=q colors.

Moving on to cycles, since e(Ck)=ke(C_k)=k, we know that R(Kn,Ck,k)=(n2)\mathcal{R}(K_n,C_k,k)=\binom{n}{2} for any k≥3k\ge3. We also know that R(Kn,Ck,k−1)\mathcal{R}(K_n,C_k,k-1) corresponds to the classical anti-Ramsey problem and so these are done by the theorem of Montellano-Ballesteros and Neumann-Lara [19], that is, Theorem 1.2. For other values of qq, we can fall back on what we know about paths, as paths are subgraphs of cycles.

Proposition 2.4. If ℓ≥k≥3\ell\ge k\ge3 and nn is sufficiently large, then

R(Kn,Cℓ,k−2)=R(Kn,Ck,k−2)=R(Kn,Pk,k−2).\mathcal{R}(K_n,C_\ell,k-2)=\mathcal{R}(K_n,C_k,k-2)=\mathcal{R}(K_n,P_k,k-2).

Proof. For ℓ≥k\ell\ge k, we know that R(Kn,Cℓ,k−2)≤R(Kn,Pk,k−2)\mathcal{R}(K_n,C_\ell,k-2)\le\mathcal{R}(K_n,P_k,k-2) and R(Kn,Ck,k−2)≤R(Kn,Pk,k−2)\mathcal{R}(K_n,C_k,k-2)\le\mathcal{R}(K_n,P_k,k-2) by Proposition 2.2. So, we need to show equality in both cases. We note that the same construction that works for the anti-Ramsey case of the path on kk vertices works for any cycle of length at least kk. (See the proof of Theorem 2.3.) So, we have equality across the board and the proposition holds.

We summarize the generalized anti-Ramsey numbers of some small cycles in Table 1.

kk \ qq12345678
31n−1n-1(n2)\binom{n}{2}
41243n+O(1)\frac{4}{3}n+O(1)(n2)\binom{n}{2}
512nn74n+O(1)\frac{7}{4}n+O(1)(n2)\binom{n}{2}
612nnn+1n+1115n+O(1)\frac{11}{5}n+O(1)(n2)\binom{n}{2}
712nnn+1n+12n−22n-283n+O(1)\frac{8}{3}n+O(1)(n2)\binom{n}{2}
812nnn+1n+12n−22n-22n−12n-1227n+O(1)\frac{22}{7}n+O(1)(n2)\binom{n}{2}

Table 1. A table of values of R(Kn,Ck,q)\mathcal{R}(K_n,C_k,q) for various values of kk and qq, assuming nn is large enough. The entries when q=k−1q=k-1 correspond to the anti-Ramsey numbers for cycles (Theorem 1.2).

Linear threshold for connected graphs

In this section we identify the linear threshold for every connected graph GG. We begin by showing that two standard colorings of KnK_n yield bounds on the generalized anti-Ramsey number.

Definition 3.1 (Star Coloring). Let KnK_n be colored as follows. Totally multicolor all edges incident to a single vertex (called the TMC vertex) and then color all remaining edges with one new color. This coloring uses nn colors.

Definition 3.2 (Turán Coloring). Let KnK_n be colored as follows. Totally multicolor a matching of size ⌊n/2⌋\lfloor n/2\rfloor (the TMC matching) and color all remaining edges with one new color. This coloring uses ⌊n/2⌋+1\lfloor n/2\rfloor+1 colors.

Using these two colorings, we get the following lower bounds on the generalized anti-Ramsey number of a graph. Recall that the matching number of a graph GG, denoted ν(G)\nu(G), is the maximum size of a matching in GG.

Proposition 3.3. For any graph GG with maximum degree Δ(G)=Δ\Delta(G)=\Delta and matching number ν(G)=ν\nu(G)=\nu, we have

(i) R(Kn,G,Δ+1)≥n\mathcal{R}(K_n,G,\Delta+1)\ge n, and

(ii) R(Kn,G,ν+1)≥⌊n/2⌋+1\mathcal{R}(K_n,G,\nu+1)\ge\lfloor n/2\rfloor+1.

Proof. To prove (i), consider a star coloring of KnK_n. Any copy of GG sees at most Δ+1\Delta+1 colors. Indeed any copy of GG which maps vertex v∈V(G)v\in V(G) to the TMC vertex of the star coloring will see at most d(v)+1d(v)+1 colors.

To prove (ii), consider a Turán coloring of KnK_n. Any copy of GG sees at most ν+1\nu+1 colors. Indeed any copy of GG which maps the edges of a matching of size kk into the TMC matching of the Turán coloring will see at most k+1k+1 colors.

We next present two very simple lemmas. The first guarantees the existence of some structure in graphs with given maximum degree. Note that the broom, denoted Bk,ℓB_{k,\ell} is the graph formed from K1,ℓ+1=Sℓ+1K_{1,\ell+1}=S_{\ell+1} by subdividing one of the edges k−1k-1 times. Note that Jiang and West [14] studied the classical anti-Ramsey number of brooms.

Lemma 3.4. Suppose GG is a connected graph with maximum degree Δ≥2\Delta\ge2. Either

(i) ∣V(G)∣=Δ+1|V(G)|=\Delta+1 and

(a) GG is a star, or

(b) GG is a triangle, or

(c) GG contains a broom B2,Δ−2B_{2,\Delta-2},

or

(ii) GG contains a broom B2,Δ−1B_{2,\Delta-1}.

Proof. Consider a vertex vv of degree Δ\Delta. If ∣V(G)∣=Δ+1|V(G)|=\Delta+1, and GG is not a star or a triangle, then there is an edge among N(v)N(v). Thus we can find a broom B2,Δ−2B_{2,\Delta-2}. If ∣V(G)∣>Δ+1|V(G)|>\Delta+1, then GG must contain an edge from N(v)N(v) to V(G)∖N[v]V(G)\setminus N[v] since GG is connected. This edge plus the star centered at vv forms a broom B2,Δ−1B_{2,\Delta-1}.

The second straightforward lemma guarantees structure in graphs with given matching number.

Recall that for a graph GG, we let ℓG\ell G be the disjoint union of ℓ\ell copies of GG.

Lemma 3.5. Suppose GG is a connected graph with matching number ν≥2\nu\ge2. Then GG contains at least one of the following:

  1. P3∪(ν−1)K2P_3 \cup(\nu- 1)K_2, or

  2. P4∪(ν−2)K2P_4 \cup(\nu- 2)K_2.

Proof. Let MM be a matching of size ν\nu and let ee be an edge of MM. Since GG is connected, ee is incident to another edge ff. If f∖e∉V(M)f \setminus e \notin V(M), then we have 1. If f∖e∈V(M)f \setminus e \in V(M), then we have 2.

The following definition, introduced by Erdős, Simonovits, and Sós, is helpful here and elsewhere.

Definition 3.6. Given an edge-coloring cc of a graph GG, a representation of cc is a subgraph of GG consisting of one edge of each color of $c.

Our main lemma follows. It should be noted that we did not optimize the result in terms of the number of colors, but rather used the values that made the proof work smoothly.

Lemma 3.7. Let k≥2k \ge2. If E(Kn)E(K_n) is exactly colored with (k+2)(k+1)+1(k + 2)(k + 1) + 1 colors, then the coloring either contains both of

  1. a rainbow Sk+1S_{k+1} and

  2. a rainbow B2,k−1B_{2,k-1},

or it contains all three of

  1. a rainbow (k+1)K2(k + 1)K_2,

  2. a rainbow P3∪(k−1)K2P_3 \cup(k - 1)K_2, and

  3. a rainbow P4∪(k−2)K2P_4 \cup(k - 2)K_2.

Proof. Consider a representation RR of the coloring, that is, a graph RR which consists of one edge of each color. A result of Abbott, Hanson, and Sauer [1] says that RR contains either (I) a vertex of degree at least k+2k + 2 or (II) a matching of size k+2k + 2.

If (I) happens, then we have a rainbow Sk+2S_{k+2} and so we certainly have a rainbow Sk+1S_{k+1}. Suppose the rainbow Sk+2S_{k+2} has center vertex vv and leaves a1,…,ak+2a_1, \ldots, a_{k+2} such that edge vaiva_i receives color ii for all 1≤i≤k+21 \le i \le k + 2. Consider the edge a1a2a_1a_2 in KnK_n. No matter which color jj this edge receives, one can find a rainbow copy of B2,k−1B_{2,k-1} by ignoring one of va1va_1 or va2va_2 and potentially one other edge vajva_j when 2<j≤k+22 < j \le k + 2.

If (II) happens, then we may assume that RR contains a matching MM of size k+2k + 2 with edges e1,…,ek+2e_1, \ldots, e_{k+2} such that ei=vivi′e_i = v_i v_i' receives color ii for all 1≤i≤k+21 \le i \le k + 2. If any edge between {v1,v1′}\{v_1, v_1'\} and {v2,v2′}\{v_2, v_2'\} receives a color jj other than 1 or 2, then we have a rainbow P4P_4 which, along with e3,…,ek+2e_3, \ldots, e_{k+2} (potentially ignoring edge eje_j), forms a rainbow P4∪(k−1)K2P_4 \cup(k - 1)K_2. So without loss of generality, we may assume these 4 edges are colored with 1 and 2 and that v1v2v_1v_2 is colored with 1. So the path v1v2v2′v_1v_2v_2' and the edges e3,…,ek+2e_3, \ldots, e_{k+2} form a rainbow P3∪kK2P_3 \cup kK_2. For the remainder of the proof, in each case, we will identify a rainbow P4P_4 and one can easily verify that there are k−2k - 2 edges among e1,e2,…,ek+2e_1, e_2, \ldots, e_{k+2} which do not share a vertex or a color with the identified P4P_4. If v1v3v_1v_3 is colored with a color j∉{1,3}j \notin\{1, 3\}, then v1′v1v3v3′v_1'v_1v_3v_3' is a rainbow P4P_4. If v1v3v_1v_3 is colored with 3, then v2′v2v1v3v'_2v_2v_1v_3 is a rainbow P4P_4. So we assume v1v3v_1v_3 is colored with 1. If v2′v3′v'_2v'_3 is color j∉{2,3}j \notin\{2,3\}, then v2v2′v3′v3v_2v'_2v'_3v_3 is a rainbow P4P_4. If v2′v3′v'_2v'_3 has color 3, then v1v2v2′v3′v_1v_2v'_2v'_3 is a rainbow P4P_4. So we may assume that v2′v3′v'_2v'_3 is colored with 2. Finally we consider edge v1v2′v_1v'_2. We know this edge is colored with either 1 or 2. If it is colored with 1, then v1v2′v3v3′v_1v'_2v_3v'_3 is the desired P4P_4 and if it is colored with 2, then v2v1v3v3′v_2v_1v_3v'_3 is the desired P4P_4.

We are now ready to prove Theorem 1.5 which gives the linear threshold for connected graphs.

Proof of Theorem 1.5. Part (ii) follows directly from Proposition 3.3. Part (i) follows from Lemmas 3.4, 3.5, and 3.7. Note that k=ν(G)=1k=\nu(G)=1 if and only if GG is a triangle or a star. In this case, we need to show that every exact (k+2)(k+1)=6(k+2)(k+1)=6-coloring of KnK_n contains a triangle or a star which sees at least 2 colors. This is clear (even for an exact 2-coloring of KnK_n) since there must be some vertex where two color classes intersect. So we may assume that GG is not a star or a triangle and that k≥2k\geq2.

First suppose that k=ν(G)≤Δ(G)k=\nu(G)\leq\Delta(G). Then by Lemma 3.4, either ∣V(G)∣=Δ+1|V(G)|=\Delta+1 or GG contains a broom B2,Δ−1⊇B2,k−1B_{2,\Delta-1}\supseteq B_{2,k-1}. If ∣V(G)∣=Δ+1|V(G)|=\Delta+1, then since GG is not a star or a triangle, we must have a broom B2,Δ−2B_{2,\Delta-2}. This broom contains a B2,k−1B_{2,k-1} since k−1=ν(G)−1≤∣V(G)∣2−1=Δ+12−1≤Δ−2k-1=\nu(G)-1\leq\frac{|V(G)|}{2}-1=\frac{\Delta+1}{2}-1\leq\Delta-2. This last inequality holds for Δ≥3\Delta\geq3 which we may assume since GG is not a triangle or a star. By Lemma 3.5 GG contains at least one of P3∪(k−1)K2P_3\cup(k-1)K_2 or P4∪(k−2)K2P_4\cup(k-2)K_2. Thus in either case of Lemma 3.7, we find a (k+1)(k+1)-colored subgraph of GG and hence there is a copy of GG which sees at least k+1k+1 colors.

Similarly, if k=Δ(G)<ν(G)k=\Delta(G)<\nu(G), then we cannot have that ∣V(G)∣=Δ+1|V(G)|=\Delta+1 and so by Lemma 3.4, GG contains a B2,k−1B_{2,k-1} and also GG contains a (k+1)K2(k+1)K_2 since we are assuming that ν(G)>k\nu(G)>k. Again, in either case of Lemma 3.7 we are done.

Quadratic Thresholds

Erdős, Simonovits, and Sós (essentially) proved the following general theorem about the classical anti-Ramsey number. Recall that given a graph GG and a set of graphs F\mathcal{F}, the extremal number ex⁡(G,F)\operatorname{ex}(G,\mathcal{F}) is the maximum number of edges in an F\mathcal{F}-free subgraph of GG.

Lemma 4.1. For any graphs GG and HH, with HH appearing as a subgraph of GG,

ex⁡(G,H−)+1≤R(G,H,e(H)−1)≤ex⁡(G,H)\operatorname{ex}(G,\mathcal{H}^{-})+1\leq\mathcal{R}(G,H,e(H)-1)\leq\operatorname{ex}(G,H)

where H−={H−e:e∈E(H)}\mathcal{H}^{-}=\{H-e:e\in E(H)\}.

This lemma is enough for us to prove part (i) of Theorem 1.6. If GG is bipartite on vv vertices with kk edges, then trivially R(Kn,G,k)=(n2)\mathcal{R}(K_n,G,k)=\binom{n}{2} as there are no restrictions on the coloring. On the other hand, by Lemma 4.1, we have that

R(Kn,G,k−1)≤ex⁡(Kn,G)=O(n2−2/v),\mathcal{R}(K_n,G,k-1)\leq\operatorname{ex}(K_n,G)=O(n^{2-2/v}),

where the final estimate follows from the Kővári-Sós-Turán theorem [15].

To prove part (ii) of Theorem 1.6, we need to do a bit more work. Mubayi and West proved the following lemmas which generalize Lemma 4.1 to R(G,H,k)\mathcal{R}(G,H,k) in the natural way (Lemmas 5.1 and 5.2 in [20]). We include proofs for completeness.

Lemma 4.2. Let F\mathcal{F} be any family of subgraphs of HH each with at least k+1k+1 edges. Further suppose that for every F∈FF \in\mathcal{F}, every copy of FF in GG can be extended to a copy of HH in GG (automatic when G=KnG = K_n and n≥∣V(H)∣n \ge|V(H)|). Then

R(G,H,k)≤ex⁡(G,F)\mathcal{R}(G,H,k) \le\operatorname{ex}(G,\mathcal{F})

Proof. Consider an exact ex⁡(G,F)+1\operatorname{ex}(G,\mathcal{F})+1 coloring of GG. Any representation of this coloring contains a (k+1)(k+1)-colored F∈FF \in\mathcal{F} that is contained in a copy of HH.

Lemma 4.3. Let F\mathcal{F} be any family of graphs and suppose that the largest F\mathcal{F}-free subgraph of HH has k−1k-1 edges and that e(G)>ex⁡(G,F)e(G) > \operatorname{ex}(G,\mathcal{F}). Then

ex⁡(G,F)+1≤R(G,H,k)\operatorname{ex}(G,\mathcal{F})+1 \le\mathcal{R}(G,H,k)

Proof. Consider an F\mathcal{F}-free subgraph G^\widehat{G} of GG with ex⁡(G,F)\operatorname{ex}(G,\mathcal{F}) many edges. Color each edge of G^\widehat{G} with a distinct color and color the edges of G−G^G-\widehat{G} with a new color cc. Any copy of HH has at most k−1k-1 edges from G^\widehat{G} and all other edges of color cc. So every copy of HH sees at most kk colors.

Notice that Lemma Lemma 4.1 follows from these two. For the upper bound, apply Lemma Lemma 4.2 with F={H}\mathcal{F}=\{H\}. For the lower bound, apply Lemma Lemma 4.3 with F=H−\mathcal{F}=H^-. In both cases, k=e(H)−1k=e(H)-1.

The following theorem almost determines the quadratic threshold for all nonbipartite graphs. It is a simple corollary of Lemmas 4.2 and 4.3.

Theorem 4.4. Let GG be a nonbipartite graph and suppose that kk is the number of edges in the largest bipartite subgraph of GG. Then R(Kn,G,k−1)=o(n2)\mathcal{R}(K_n,G,k-1)=o(n^2) and R(Kn,G,k+1)=Ω(n2)\mathcal{R}(K_n,G,k+1)=\Omega(n^2).

Proof. Let HH be a bipartite subgraph of GG with kk edges. Then by Lemma Lemma 4.2 with F={H}\mathcal{F}=\{H\} we have

R(Kn,G,k−1)≤ex⁡(n,H)=o(n2).\mathcal{R}(K_n,G,k-1) \le\operatorname{ex}(n,H)=o(n^2).

The last inequality follows from the Erdős–Stone theorem [10]. To prove the lower bound, let F\mathcal{F} be the family of all odd cycles and apply Lemma Lemma 4.3. The quadratic lower bound comes from König’s Theorem (or really just the observation that the complete balanced bipartite graph contains no odd cycles).

While one can show that R(Kn,G,k)=o(n2)\mathcal{R}(K_n,G,k)=o(n^2) follows from the Erdős–Stone–Simonovits Theorem, we can do slightly better by an argument of Axenovich and K\u00fcndgen [5].

Theorem 4.5. Let GG be a nonbipartite graph on vv vertices and suppose that kk is the number of edges in the largest bipartite subgraph of GG. Then R(Kn,G,k)=O(n2−1/(v+1))\mathcal{R}(K_n,G,k)=O(n^{2-1/(v+1)}).

Proof. Let HH be a bipartite subgraph of GG with kk edges. Let ee be any edge in E(G)∖E(H)E(G)\setminus E(H). Let a=v+1a=v+1. Let M=ex⁡(n,Ka,a)=O(n2−1/a)M=\operatorname{ex}(n,K_{a,a})=O(n^{2-1/a}) by the Kővári–Sós–Turán theorem [15]. Consider an exact M+1M+1 coloring of KnK_n. Then any representation of this coloring contains a rainbow K=Ka,aK=K_{a,a} and say the bipartition of KK is A∪BA\cup B. Select any edge inside AA and suppose it has color cc. This color cc appears on KK at most once since KK is rainbow. Thus we may ignore one vertex from BB (the one incident to color cc in KK if it exists) to obtain a rainbow K′=Ka,a−1K'=K_{a,a-1} which does not see color cc. Then we can embed ee on the edge of color cc and embed the rest of HH on KK. This gives a copy of H+eH+e, and hence GG, which sees at least k+1k+1 colors.

AI Declaration

The mathematical content of this paper was done without the use of generative AI. Prior to submission, we used GPT 6.1 Sol to proofread.

References

  1. [1]H. L. Abbott, D. Hanson, and N. Sauer, Intersection theorems for systems of sets, Journal of Combinatorial Theory, Series A 12 (1972), no. 3, 381–389.DOI
  2. [2]R. Ahlswede, N. Cai, and Z. Zhang, Rich colorings with local constraints, J. Combin. Inform. System Sci. 17 (1992), no. 3-4, 203–216.
  3. [3]Noga Alon, On a conjecture of Erdős, Simonovits, and Sós concerning anti-Ramsey theorems, J. Graph Theory 7 (1983), no. 1, 91–94.
  4. [4]Maria Axenovich, Zoltán Füredi, and Dhruv Mubayi, On generalized Ramsey theory: the bipartite case, J. Combin. Theory Ser. B 79 (2000), no. 1, 66–86.DOI
  5. [5]Maria Axenovich and André Kündgen, On a generalized anti-Ramsey problem, Combinatorica 21 (2001), no. 3, 335–349.DOI
  6. [6]Deepak Bal, Patrick Bennett, Emily Heath, and Shira Zerbib, Generalized Ramsey numbers of cycles, paths, and hypergraphs, European J. Combin. 132 (2026), Paper No. 104281, 19.arxiv.org/abs/2405.15904
  7. [7]P. Erdős, On sequences of integers no one of which divides the product of two others and on some related problems, Mittheil. Forsch.-Inst. Math. Mech. Univ. Tomsk 2 (1938), 74–82.
  8. [8]———, On extremal problems of graphs and generalized graphs, Israel J. Math. 2 (1964), 183–190.DOI
  9. [9]P. Erdős, M. Simonovits, and V. T. Sós, Anti-Ramsey theorems, Infinite and finite sets (Colloq., Keszthely, 1973; dedicated to P. Erdős on his 60th birthday), Vols. I, II, III, Colloq. Math. Soc. János Bolyai, vol. 10, North-Holland, Amsterdam-London, 1975, pp. 633–643.
  10. [10]P. Erdős and A. H. Stone, On the structure of linear graphs, Bull. Amer. Math. Soc. 52 (1946), 1087–1091.
  11. [11]Paul Erdős, Problems and results on finite and infinite graphs, Recent advances in graph theory (Proc. Second Czechoslovak Sympos., Prague, 1974), Academia, Prague, 1975, pp. 183–192. (loose errata).
  12. [12]Paul Erdős and András Gyárfás, A variant of the classical Ramsey problem, Combinatorica 17 (1997), no. 4, 459–467.DOI
  13. [13]Tao Jiang, Edge-colorings with no large polychromatic stars, Graphs Combin. 18 (2002), no. 2, 303–308.DOI
  14. [14]Tao Jiang and Douglas B. West, Edge-colorings of complete graphs that avoid polychromatic trees, Discrete Math. 274 (2004), no. 1-3, 137–145.
  15. [15]T. Kővári, V. T. Sós, and P. Turán, On a problem of K. Zarankiewicz, Colloq. Math. 3 (1954), 50–57.DOI
  16. [16]Robert A. Krueger, Generalized Ramsey numbers: forbidding paths with few colors, Electron. J. Combin. 27 (2020), no. 1, Paper No. 1.44, 10.arxiv.org/abs/1906.06935
  17. [17]F. Lazebnik, V. A. Ustimenko, and A. J. Woldar, A new series of dense graphs of high girth, Bull. Amer. Math. Soc. (N.S.) 32 (1995), no. 1, 73–79.arxiv.org/abs/math/9501231
  18. [18]J. J. Montellano-Ballesteros, An anti-Ramsey theorem on diamonds, Graphs Combin. 26 (2010), no. 2, 283–291.
  19. [19]J. J. Montellano-Ballesteros and V. Neumann-Lara, An anti-Ramsey theorem on cycles, Graphs Combin. 21 (2005), no. 3, 343–354.
  20. [20]Dhruv Mubayi and Douglas B. West, On restricted edge-colorings of bicliques, Discrete Math. 257 (2002), no. 2-3, 513–529, Kleitman and combinatorics: a celebration (Cambridge, MA, 1999).DOI
  21. [21]Miklós Simonovits and Vera T. Sós, On restricted colourings of Kₙ, Combinatorica 4 (1984), no. 1, 101–110.
  22. [22]Long-Tu Yuan, Anti-Ramsey numbers for paths, 2021, arXiv:2102.00807.arxiv.org/abs/2102.00807

Paper details

vlnc:W_gjtx3bya
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Mathematics

Not recorded for this paper

View statement
Looking for related papers…
Contents