This paper was converted on www.awesomepapers.org from LaTeX by an anonymous user.
Want to know more? Visit the Converter page.

Weighted Cages

G. Araujo-Pardo1,4    C. De la Cruz2,5,6    M. Matamala3,7    M. A. Pizaña2,6
Abstract

Cages (rr-regular graphs of girth gg and minimum order) and their variants have been studied for over seventy years. Here we propose a new variant, weighted cages. We characterize their existence; for cases g=3,4g=3,4 we determine their order; we give Moore-like bounds and present some computational results.

11footnotetext: Universidad Nacional Autónoma de México. [email protected]22footnotetext: Universidad Autónoma Metropolitana. [email protected], [email protected]33footnotetext: Department of Mathematical Engineering and Center for Mathematical Modeling, CNRS IRL 2807, Universidad de Chile, Santiago, Chile. [email protected]44footnotetext: Partially supported by PAPIIT-México under grant IN113324 and CONAHCyT: CBF 2023-2024-552.55footnotetext: Partially supported by CONAHCYT, grant 799875.66footnotetext: Partially supported by CONAHCYT, grant A1-S-45528.77footnotetext: Supported by Centro de Modelamiento Matemático (CMM), FB210005, BASAL funds for centers of excellence from ANID-Chile.

1 Introduction

Cages [8] have been studied since 1947 when they were introduced by Tutte in [18]. They are regular graphs of a given girth with the smallest number of vertices for the given parameters. In 1963 Sachs [16] proved that for each k2k\geq 2 and each g3g\geq 3 there is a kk-regular graph of girth gg which implies that a cage exists for each such parameters. The smallest integer nn for which there is a kk-regular graph of girth gg on nn vertices is denoted by n(k,g)n(k,g) and a kk-regular graph of girth gg with n(k,g)n(k,g) vertices is called a (k,g)(k,g)-cage. Several variations of the notion of cage have been studied in the literature including, among others: Biregular cages [1, 9], biregular bipartite cages [4, 11], vertex-transitive cages [14], Cayley cages [10], mixed cages [2, 3, 7] and mixed geodetic cages [17].

Standard terminology on graph theory used here, will be quickly reviewed in the next section.

In this work, we extend the notion of cage to weighted graphs. In general, a weighted graph, is a (simple, finite) graph G=(V,E)G=(V,E) together with a weight function w:E(G)w:E(G)\rightarrow\mathbb{R}, however, to keep the presentation as simple as possible, we shall focus on weight functions of the form w:E(G){1,2}w:E(G)\rightarrow\{1,2\}. An edge with weight 1 is called a light edge while one with weight 2 is called a heavy edge.

Under these circumstances, each weighted graph GG, wgraph for short, may be specified by a couple of graphs L=L(G)L=L(G) and H=H(G)H=H(G), which are the spanning subgraphs of GG formed by the light edges and the heavy edges of GG (respectively). Hence, we shall represent a wgraph GG by G=(L,H)G=(L,H), where LL and HH are graphs such that V(L)=V(H)V(L)=V(H) and E(L)E(H)=E(L)\cap E(H)=\varnothing.

In order to maintain the regularity aspect of the original notion we require LL and HH to be regular. Thus an (a,b)(a,b)-regular wgraph is a wgraph G=(L,H)G=(L,H) where LL is aa-regular and HH is bb-regular. A wcycle in GG is a cycle whose edges may be light or heavy and its weight is the sum of the weights of the edges composing it. The girth of a wgraph GG is the minimum weight of its wcycles. Finally, by analogy with cages, we may define an (a,b,g)(a,b,g)-wgraph as an (a,b)(a,b)-regular wgraph of girth gg, and an (a,b,g)(a,b,g)-wcage as an (a,b,g)(a,b,g)-wgraph of minimum order. We shall represent the order of an (a,b,g)(a,b,g)-wcage by n(a,b,g)n(a,b,g).

In this paper, we characterize their existence and, for the cases g=3,4g=3,4, we determine the value of n(a,b,g)n(a,b,g); We also determine n(a,b,g)n(a,b,g) for a=1,2a=1,2 when g=5,6g=5,6. We give Moore-like bounds and present some computational results.

An interesting feature of weighted cages is that, contrary to what happens with ordinary cages, n(a,b,g)n(a,b,g) is not always monotone increasing in all its parameters, since we shall see that n(3,1,4)=8>6=n(3,2,4)n(3,1,4)=8>6=n(3,2,4) in Section 6 and that n(4,1,5)=20>19=n(4,2,5)n(4,1,5)=20>19=n(4,2,5) in Section 8.

We note that many of our results may be readily extended to weights of the form w:E(G){w1,w2}w:E(G)\rightarrow\{w_{1},w_{2}\}\subset\mathbb{N}.

2 Terminology and Preliminaries

Our graphs are simple and finite. We use standard terminology for denoting the set of vertices and the set of edges of a graph XX: X=(V,E)X=(V,E), V=V(X)V=V(X) and E=E(X)E=E(X). The order of a graph XX is |X|=|V(X)||X|=|V(X)|. An edge is an unordered pair of vertices {x,y}\{x,y\}, which we may also write as xyxy. We write xXyx\simeq_{X}y for the adjacent-or-equal relation on a graph XX. The degree of a vertex xx in XX is defined by degX(x)=|{xy:xyE(X)}|deg_{X}(x)=|\{xy:xy\in E(X)\}|. The maximum degree is Δ(X)=max{degX(x):xV(X)}\Delta(X)=\max\{deg_{X}(x):x\in V(X)\}. A graph XX is rr-regular if deg(x)=rdeg(x)=r, for all vertices xV(X)x\in V(X). The distance between vertices xx and yy in XX is denoted by distX(x,y)dist_{X}(x,y). The complete graphs on nn vertices are represented by KnK_{n} and the complete balanced bipartite graphs on nn vertices are denoted by Km,mK_{m,m}, where m=n2m=\frac{n}{2}. Given graphs XX and YY, some standard operations on graphs are: the complement of a graph X¯=(V(X),E(X)¯)\overline{X}=(V(X),\overline{E(X)}), where E(X)¯={{x,y}:x,yV(X),xy and {x,y}E(X)}\overline{E(X)}=\{\{x,y\}:x,y\in V(X),x\neq y\textup{ and }\{x,y\}\not\in E(X)\}, the square of a graph X2=(V(X),E(X2))X^{2}=(V(X),E(X^{2})), where E(X2)={{x,y}:0<distX(x,y)2}E(X^{2})=\{\{x,y\}:0<dist_{X}(x,y)\leq 2\} and the union of graphs XY=(V(X)V(Y),E(X)E(Y))X\cup Y=(V(X)\cup V(Y),E(X)\cup E(Y)), while the disjoint union is X\cupdotY=(V(X)\cupdotV(Y),E(X)\cupdotE(Y))X\cupdot Y=(V(X)\cupdot V(Y),E(X)\cupdot E(Y)). Here we define the difference of graphs as XY=(V(X),E(X)E(Y)X-Y=(V(X),E(X)-E(Y), that is, the edges of YY, are removed from XX, but not the vertices. The girth g(X)g(X) of a graph, XX, is the length of a shortest cycle in XX. An (r,g)(r,g)-graph is an rr-regular graph of girth gg. An (r,g)(r,g)-cage is an (r,g)(r,g)-graph of minimum order. The order of an (r,g)(r,g)-cage is denoted by n(r,g)n(r,g); when no such cage exists, we define n(r,g)=n(r,g)=\infty (this happens exactly when r<2r<2 or g<3g<3).

A weighted graph (wgraph for short) is G=(L,H)G=(L,H), where L=L(G)L=L(G) is the light-subgraph of GG and H=H(G)H=H(G) is the heavy-subgraph of GG; both LL and HH are ordinary graphs and we require that V(L)=V(H)V(L)=V(H) and E(L)E(H)=E(L)\cap E(H)=\varnothing. Light edges have weight 1 and heavy edges have weight 2. A wcycle (wpath) in GG is a cycle (path) whose edges may be light or heavy and its weight is the sum of the weights of the edges composing it. The wdistance between two vertices xx and yy in GG is the minimum weight of a wpath in GG joining xx and yy. Other terms like wtree and subwgraph will be used with the obvious meaning.

We say that G=(L,H)G=(L,H) is (a,b)(a,b)-regular if LL is aa-regular and HH is bb-regular. The girth, g(G)g(G), of a wgraph is the minimum weight of a wcycle in GG. An (a,b,g)(a,b,g)-wgraph GG is an (a,b)(a,b)-regular wgraph GG of girth gg and an (a,b,g)(a,b,g)-wcage is an (a,b,g)(a,b,g)-wgraph of minimum order. We define n(a,b,g)n(a,b,g) as the order of an (a,b,g)(a,b,g)-wcage (and we define n(a,b,g)=n(a,b,g)=\infty if there is no such (a,b,g)(a,b,g)-wcage).

It should be clear that n(a,b,g)=n(a,b,g)=\infty whenever a+b1a+b\leq 1 or g<3g<3. Also, it is immediate that n(a,0,g)=n(a,g)n(a,0,g)=n(a,g) and that n(0,b,g)=n(b,g2)n(0,b,g)=n(b,\frac{g}{2}) whenever gg is even and g6g\geq 6 (otherwise, n(0,b,g)=n(0,b,g)=\infty). A (1,1,g)(1,1,g)-wcage must be a wcycle of weight gg with alternating light and heavy edges, and hence:

n(1,1,g)={2g3if g6 and g0mod3,otherwise.n(1,1,g)=\begin{cases}\frac{2g}{3}&\textup{if }g\geq 6\textup{ and }g\equiv 0\mod 3,\\ \infty&\textup{otherwise.}\end{cases}

We shall use congruence module 2 very often, and hence we shall abbreviate “xymod2x\equiv y\mod 2” simply as “xyx\equiv y”. It is a well know result (sometimes called the first theorem of graph theory or the degree-sum formula) that the sum of the degrees of a graph is even (and equals twice the number of edges). For an rr-regular graph of order nn, this means nr0nr\equiv 0, and hence that there are no odd-regular graphs of odd order. This fact will be used very often in this paper and we shall refer to it simply as “parity forbids”, as in: “parity forbids r=3r=3 and n=7n=7”. We shall often need the following four lemmas:

Lemma 2.1.

Let a,b0a,b\geq 0 and g3g\geq 3. Then n(a,b,g)a+b+1n(a,b,g)\geq a+b+1. Moreover, if ab1ab\equiv 1, then n(a,b,g)a+b+2n(a,b,g)\geq a+b+2.

Proof.

If there is no (a,b,g)(a,b,g)-wcage, then, by definition, n(a,b,g)=n(a,b,g)=\infty and the inequalities hold. Otherwise, take an (a,b,g)(a,b,g)-wcage G=(L,H)G=(L,H) and a vertex xGx\in G. Then xx must have aa neighbors in LL and bb neighbors in HH, and therefore the closed neighborhood of xx in GG must have a+b+1a+b+1 vertices. Thus n(a,b,g)=|G|a+b+1n(a,b,g)=|G|\geq a+b+1. Parity forbids n=a+b+1n=a+b+1 when ab1ab\equiv 1, hence n(a,b,g)a+b+2n(a,b,g)\geq a+b+2 in that case. ∎

Recall that a kk-factor, FF, of a graph XX is a kk-regular spanning subgraph of XX. Thus a 11-factor is a perfect matching and a 22-factor is a collection of cycles that span all of XX. A kk-factorization of XX is a decomposition of XX into kk-factors, that is, a collection of kk-factors {Fi}iI\{F_{i}\}_{i\in I}, such that E(Fi)E(Fj)=E(F_{i})\cap E(F_{j})=\varnothing for all iji\neq j and G=iIFiG=\bigcup_{i\in I}F_{i}.

Lemma 2.2.

If 5n15\leq n\equiv 1, there is a 22-factorization of KnK_{n}, Kn=i=1n2FiK_{n}=\bigcup_{i=1}^{\lfloor\frac{n}{2}\rfloor}F_{i}, such that F1F2F_{1}\cup F_{2} contains a triangle.

Proof.

Label the vertices of KnK_{n} with the elements of n\mathbb{Z}_{n}. For i{1,2,,n2}i\in\{1,2,\ldots,\lfloor\frac{n}{2}\rfloor\} define FiF_{i} as the spanning subgraph of KnK_{n} having edge set E(Fi)={{x,x+i}:xn}E(F_{i})=\{\{x,x+i\}:x\in\mathbb{Z}_{n}\}. It is straightforward to verify that {Fi}i=1n2\{F_{i}\}_{i=1}^{\lfloor\frac{n}{2}\rfloor} is a 22-factorization of KnK_{n}. A triangle in F1F2F_{1}\cup F_{2} is induced by the vertices {0,1,2}\{0,1,2\}. ∎

Lemma 2.3.

If 4n04\leq n\equiv 0, there is a 11-factorization of KnK_{n}, Kn=i=0n2F~iK_{n}=\bigcup_{i=0}^{n-2}\tilde{F}_{i}, such that F~0F~1F~2\tilde{F}_{0}\cup\tilde{F}_{1}\cup\tilde{F}_{2} contains a triangle.

Proof.

Label one vertex of KnK_{n} as \ast and label the remaining vertices with the elements of n1\mathbb{Z}_{n-1}. For in1i\in\mathbb{Z}_{n-1}, define F~i\tilde{F}_{i} as the spanning subgraph of KnK_{n} having edge set E(F~i)={{,i}}{{i+k,ik}:k{1,2,,n22}}E(\tilde{F}_{i})=\{\{\ast,i\}\}\cup\{\{i+k,i-k\}:k\in\{1,2,\ldots,\frac{n-2}{2}\}\}. It is straightforward to verify that {F~i}i=0n2\{\tilde{F}_{i}\}_{i=0}^{n-2} is a 11-factorization of KnK_{n}. A triangle in F~0F~1F~2\tilde{F}_{0}\cup\tilde{F}_{1}\cup\tilde{F}_{2} is induced by the vertices {,0,2}\{\ast,0,2\}. ∎

Lemma 2.4.

If m3m\geq 3 there is a 11-factorization of Km,mK_{m,m}, Km,m=i=0m1F^iK_{m,m}=\bigcup_{i=0}^{m-1}\hat{F}_{i}, such that F^0F^1F^2\hat{F}_{0}\cup\hat{F}_{1}\cup\hat{F}_{2} contains a 4-cycle.

Proof.

Let {X,Y}\{X,Y\} be the bipartition of Km,mK_{m,m}. Label the vertices of XX with {xi:im}\{x_{i}:i\in\mathbb{Z}_{m}\} and the vertices of YY with {yi:im}\{y_{i}:i\in\mathbb{Z}_{m}\}. Define F^i\hat{F}_{i} as the spanning subgraph of Km,mK_{m,m} with edge set E(Fi^)={xjyj+i:jm}E(\hat{F_{i}})=\{x_{j}y_{j+i}:j\in\mathbb{Z}_{m}\}. It is straightforward to verify that {F^i}i=0m1\{\hat{F}_{i}\}_{i=0}^{m-1} is a 11-factorization of Km,mK_{m,m}. A 44-cycle is induced in F^0F^1F^2\hat{F}_{0}\cup\hat{F}_{1}\cup\hat{F}_{2} by the vertices {x0,y1,x1,y2}\{x_{0},y_{1},x_{1},y_{2}\}. ∎

3 Existence of weighted cages

Given two graphs ZZ, YY, a (weak) morphism, φ:ZY\varphi:Z\rightarrow Y, is a function φ:V(Z)V(Y)\varphi:V(Z)\rightarrow V(Y), such that zZzz\simeq_{Z}z^{\prime} implies φ(z)Yφ(z)\varphi(z)\simeq_{Y}\varphi(z^{\prime}). Note that φ\varphi may map adjacent vertices into equal vertices. For zzE(Z)zz^{\prime}\in E(Z) we define φ(zz)={φ(z),φ(z)}\varphi(zz^{\prime})=\{\varphi(z),\varphi(z^{\prime})\} which may be singleton or an edge in YY. We also define φ1(y)={zV(Z):φ(z)=y}\varphi^{-1}(y)=\{z\in V(Z):\varphi(z)=y\} and φ1(yy)={zzE(Z):φ(zz)=yy}\varphi^{-1}(yy^{\prime})=\{zz^{\prime}\in E(Z):\varphi(zz^{\prime})=yy^{\prime}\}.

Recall that a wcycle is a cycle composed by light and heavy edges and that its weight is the sum of the weights of its edges. An (a,b,g)(a,b,g)-wcycle is a wcycle C=(L,H)C=(L,H) of weight gg such that, for each xV(C)x\in V(C), degL(x)adeg_{L}(x)\leq a and degH(x)bdeg_{H}(x)\leq b. Hence, if CC is an (a,b,g)(a,b,g)-wcycle, then it is also an (a,b,g)(a^{\prime},b^{\prime},g)-wcycle, whenever aaa^{\prime}\geq a and bbb^{\prime}\geq b. For instance, a cycle of length gg composed only of light edges is an (a,0,g)(a,0,g)-wcycle, for each a2a\geq 2. Similarly, a cycle of length \ell composed only of heavy edges is a (0,b,2)(0,b,2\ell)-wcycle, for each b2b\geq 2. Also, any wcycle of weight gg is a (2,2,g)(2,2,g)-wcycle, but there are no (a,b,g)(a,b,g)-wcycles when a+b1a+b\leq 1. Note that any (a,b,g)(a,b,g)-wcage contains at least one (a,b,g)(a,b,g)-wcycle.

We shall prove in this section that an (a,b,g)(a,b,g)-wcage exists whenever an (a,b,g)(a,b,g)-wcycle exists. The idea is very simple: Start by taking such an (a,b,g)(a,b,g)-wcycle, extend it to achieve the light-regularity and then extend it again to achieve the heavy-regularity. The formal details, however, require a series of lemmas. Let us begin by characterizing the existence of (a,b,g)(a,b,g)-wcycles:

Lemma 3.1.

Let a,b0a,b\geq 0 and g3g\geq 3, then an (a,b,g)(a,b,g)-wcycle exists if and only if any of the conditions 1-4 holds:

  1. 1.

    a2a\geq 2.

  2. 2.

    a=1a=1, b2b\geq 2, and g5g\geq 5.

  3. 3.

    a=1a=1, b=1b=1, g6g\geq 6 and g0mod3g\equiv 0\mod 3.

  4. 4.

    a=0a=0, b2b\geq 2, g6g\geq 6 and g0mod2g\equiv 0\mod 2.

Proof.

Case 1: A wcycle can be formed using only light edges. Case 2: A wcycle can be formed either using only heavy edges (for even gg, with g6g\geq 6) or using one light edge and (g1)/2(g-1)/2 heavy edges (for odd gg, with g5g\geq 5). Case 3: Any such wcycle must alternate light and heavy edges; any two such consecutive edges in the wcycle contribute 3 to the weight of the wcycle and hence g0mod3g\equiv 0\mod 3. Also, the minimum of such wcycles has 4 edges and g=6g=6. Case 4: Any wcycle must contain only heavy edges and hence g0mod2g\equiv 0\mod 2. Also the minimum of such wcycles has 3 edges and g=6g=6.

It is straightforward to verify that these are all the cases in which an (a,b,g)(a,b,g)-wcycle exists. ∎

Definition 3.2.

Given graphs XX and YY we say that ZZ is a semidirect product of XX and YY (written as Z=XYZ=X\rtimes Y or Z=XφYZ=X\rtimes_{\varphi}Y) whenever:

  1. 1.

    There is a morphism φ:ZY\varphi:Z\rightarrow Y

  2. 2.

    φ1(y)X\varphi^{-1}(y)\cong X, for every yV(Y)y\in V(Y).

  3. 3.

    |φ1(y1y2)|=1|\varphi^{-1}(y_{1}y_{2})|=1, for every y1y2E(Y)y_{1}y_{2}\in E(Y).

Note that, given Z=XφYZ=X\rtimes_{\varphi}Y, we must have that φ\varphi is vertex- and edge-surjective, that |Z|=|X||Y||Z|=|X||Y|, and that ZZ is the disjoint union of |Y||Y| copies of XX with some additional external edges, which only connect vertices from different copies of XX in ZZ and such that given two such copies X1X_{1} and X2X_{2} of XX in ZZ, there is at most one external edge connecting a vertex from X1X_{1} to a vertex from X2X_{2}.

Lemma 3.3 (Extension Lemma).

Let d0d\geq 0 be an integer. Let XX be a graph with Δ(X)d\Delta(X)\leq d. Define the defect D=d|X|xXdegX(x)D=d\cdot|X|-\sum_{x\in X}deg_{X}(x). Let YY be a DD-regular graph. Then there is a dd-regular graph ZZ with Z=XYZ=X\rtimes Y.

Proof.

Let us construct ZZ and φ\varphi as follows. First take V(Z)=V(X)×V(Y)V(Z)=V(X)\times V(Y). Define φ:ZY\varphi:Z\rightarrow Y by φ(x,y)=y\varphi(x,y)=y. Add the following edges to ZZ:

{(x,y)(x,y):xxE(X) and y=y}.\{(x,y)(x^{\prime},y^{\prime}):xx^{\prime}\in E(X)\textup{ and }y=y^{\prime}\}.

At this point, we already have φ1(y)X\varphi^{-1}(y)\cong X, for every yV(Y)y\in V(Y).

Given an edge yyE(Y)yy^{\prime}\in E(Y) select any pair of vertices z=(x,y)φ1(y)z=(x,y)\in\varphi^{-1}(y) and z=(x,y)φ1(y)z^{\prime}=(x^{\prime},y^{\prime})\in\varphi^{-1}(y^{\prime}) satisfying degZ(z)<ddeg_{Z}(z)<d and degZ(z)<ddeg_{Z}(z^{\prime})<d (if any). If the selection was possible, add the edge zzzz^{\prime} to ZZ and mark the edge yyyy^{\prime} as used. Repeat this procedure with the rest of the unused edges of YY until it is impossible to add more edges to ZZ. In this way, we just added at most one edge to ZZ for each edge of YY. Note that degZ(z)ddeg_{Z}(z)\leq d for all zZz\in Z. We claim that ZZ already possesses all the required properties.

Assume first that all edges of YY were used. Then to each copy φ1(y)\varphi^{-1}(y) of XX (for any yYy\in Y), we just added degY(y)=Ddeg_{Y}(y)=D new external edges (each ending in another copy of XX). Then, recalling the definition of the defect DD, the new degree sum of the all vertices z=(x,y)z=(x,y) in φ1(y)\varphi^{-1}(y) is:

zφ1(y)degZ(z)=xXdegX(x)+D=d|X|.\sum_{z\in\varphi^{-1}(y)}deg_{Z}(z)=\sum_{x\in X}deg_{X}(x)+D=d\cdot|X|. (1)

Since degZ(z)ddeg_{Z}(z)\leq d and |φ1(y)|=|X||\varphi^{-1}(y)|=|X|, Equation (1) implies that degZ(z)=ddeg_{Z}(z)=d, for all zφ1(y)z\in\varphi^{-1}(y). Since this happens for every yy, it follows that ZZ is dd-regular. It should be clear that all the conditions in Definition 3.2 are satisfied.

Finally, assume that some edge yyE(Y)yy^{\prime}\in E(Y) could not be used. This means, without lost of generality, that every vertex zφ1(y)z\in\varphi^{-1}(y) already had degree dd. But then zφ1(y)degZ(z)=d|X|=xXdegX(x)+D\sum_{z\in\varphi^{-1}(y)}deg_{Z}(z)=d\cdot|X|=\sum_{x\in X}deg_{X}(x)+D, which mean that DD additional external edges were added during the procedure to the vertices of φ1(y)\varphi^{-1}(y). But degY(y)=Ddeg_{Y}(y)=D and hence all edges incident with yy in YY were used. Therefore yyyy^{\prime} was already used indeed. A contradiction. ∎

Theorem 3.4.

For a,b0a,b\geq 0, g3g\geq 3, an (a,b,g)(a,b,g)-wcage exists if and only if an (a,b,g)(a,b,g)-wcycle exists.

Proof.

It suffices to show that an (a,b,g)(a,b,g)-wgraph exists. Figure 1 illustrates this proof. Let G0G_{0} be an (a,b,g)(a,b,g)-wcycle, so g(G0)=gg(G_{0})=g.

G0G_{0}X0X_{0}Y0Y_{0}D=1D=1g(Y0)5g(Y_{0})\geq 5
Z1Z_{1}G1G_{1}X1X_{1}D=4D=4g(Y1)3g(Y_{1})\geq 3Y1Y_{1}
Z2Z_{2}G2G_{2}
Figure 1: Construction in the proof of Theorem 3.4.

Let X0=L(G0)X_{0}=L(G_{0}), the light-subgraph of G0G_{0}. Note that g(X0)gg(X_{0})\geq g and Δ(X0)a\Delta(X_{0})\leq a. Take d=ad=a and compute the defect D=d|X0|xX0degX0(x)D=d\cdot|X_{0}|-\sum_{x\in X_{0}}deg_{X_{0}}(x) as in the Extension Lemma (3.3). Now, select any DD-regular graph Y0Y_{0} of girth g(Y0)gg(Y_{0})\geq g, for instance: for D=0D=0 we may take Y0=K1Y_{0}=K_{1}; for D=1D=1 take Y0=K2Y_{0}=K_{2}; and for D2D\geq 2, we may take Y0Y_{0} as any (D,g)(D,g)-cage.

Now we use the Extension Lemma with d=ad=a, to get an aa-regular graph Z1=X0φY0Z_{1}=X_{0}\rtimes_{\varphi}Y_{0} for some φ:Z1Y0\varphi:Z_{1}\rightarrow Y_{0}. Recall that Z1Z_{1} is the disjoint union of |Y0||Y_{0}| copies of X0X_{0}, with some additional external edges. Now, in each of these copies of X0X_{0} in Z1Z_{1} put back the heavy edges originally present in G0G_{0} (if any) to obtain G1G_{1} (i.e. Z1Z_{1} is a spanning subgraph of G1G_{1}).

We claim that g(G1)=gg(G_{1})=g. First note that the original wcycle G0G_{0} is present in G1G_{1}, indeed, each copy of X0X_{0} in Z1Z_{1} induce a copy of G0G_{0} in G1G_{1}. Hence g(G1)gg(G_{1})\leq g. But, if there was a wcycle CC in G1G_{1} of weight g<gg^{\prime}<g, then, this wcycle must use external edges of Z1Z_{1} and, since Z1=X0φY0Z_{1}=X_{0}\rtimes_{\varphi}Y_{0} (see Definition 3.2), φ(C)\varphi(C) must be a closed walk in Y0Y_{0} which contain a wcycle CC^{\prime} in Y0Y_{0} of weight g(C)g(C)=g<gg(C^{\prime})\leq g(C)=g^{\prime}<g which implies g(Y0)<gg(Y_{0})<g, a contradiction. It follows that g(G1)=gg(G_{1})=g.

We now repeat the extension procedure for the heavy edges of G1G_{1} to attain the desired heavy regularity:

Let X1=H(G1)X_{1}=H(G_{1}), the heavy-subgraph of G1G_{1}. Take d=bd=b and compute the defect D=d|X1|xX1degX1(x)D=d\cdot|X_{1}|-\sum_{x\in X_{1}}deg_{X_{1}}(x). Select any DD-regular graph Y1Y_{1} of girth g(Y1)g2g(Y_{1})\geq\lceil\frac{g}{2}\rceil. Note that this time g(Y1)g2g(Y_{1})\geq\lceil\frac{g}{2}\rceil is enough since these edges are going to be the heavy edges of the final graph. Now use the Extension Lemma to get a bb-regular graph Z2=X1Y1Z_{2}=X_{1}\rtimes Y_{1}. In each copy of X1X_{1} in Z2Z_{2} put back the light edges originally present in G1G_{1} to obtain G2G_{2} (i.e. Z2Z_{2} is a spanning subgraph of G2G_{2}). It should be clear as before, that g(G2)=gg(G_{2})=g and that G2G_{2} is (a,b)(a,b)-regular. ∎

The general construction in the previous theorem gives bad general upper bounds. In several cases, we can get better upper bounds using the same ideas as shown in the Theorem 3.5.

The order of an (r,g)(r,g)-cage, n(r,g)n(r,g), is finite for r2r\geq 2 and g3g\geq 3, but for the constructions used in Theorem 3.5 we shall need this variant, n~(r,g)\tilde{n}(r,g), of n(r,g)n(r,g) which is finite for r0r\geq 0, g2g\geq 2:

n~(r,g)={n(r,g)if r2,g3,r+1if 0r1 or g=2.\tilde{n}(r,g)=\begin{cases}n(r,g)&\textup{if }r\geq 2,g\geq 3,\\ r+1&\textup{if }0\leq r\leq 1\textup{ or }g=2.\end{cases}

This function, n~(r,g)\tilde{n}(r,g), is the order of the smallest rr-regular graph XX of girth g(X)gg(X)\geq g. It coincides with n(r,g)n(r,g) when an (r,g)(r,g)-cage exists (i.e. when r2r\geq 2 and g3g\geq 3), otherwise XX is a complete graph on r+1r+1 vertices and the girth of XX is either \infty (no cycles) or 33.

Theorem 3.5.

In the indicated cases, the following upper bounds hold.

1. n(a,b,g)n(a,g)n~(bn(a,g),g2)n(a,b,g)\leq n(a,g)\cdot\tilde{n}(b\cdot n(a,g),\lceil\frac{g}{2}\rceil) for a2a\geq 2, g3g\geq 3.
2. n(a,b,g)n(b,g2)n~(an(b,g2),g)n(a,b,g)\leq n(b,\frac{g}{2})\cdot\tilde{n}(a\cdot n(b,\frac{g}{2}),g) for b2b\geq 2, g6g\geq 6 , gg even.
3. n(a,b,g)2n(a,g)n(a,b,g)\leq 2\cdot n(a,g) for a2a\geq 2, b=1b=1, g6g\leq 6.
4. n(a,b,g)2n~(b,3)n(a,b,g)\leq 2\cdot\tilde{n}(b,3) for a=1a=1, b1b\geq 1, g=6g=6.
Proof.

We shall use the Extension Lemma 3.3 and ideas similar to those in the proof of Theorem 3.4. But in order to get better bounds, whenever possible (cases 1, 2 and 3), we start with a cage and not just with a wcycle. In this way, we can guarantee the girth and one of the regularities, and then we obtain the desired wcage by using only one extension operation. In the last case, the girth is guaranteed not by the initial graph but by the construction itself.

(1) Let G0G_{0} be an (a,g)(a,g)-cage. Since a2a\geq 2 and g3g\geq 3, G0G_{0} does exist. In addition, g(G0)=gg(G_{0})=g, this guarantees the girth of the wgraph that will be constructed.

Let X0=H(G0)X_{0}=H(G_{0}), the heavy-subgraph of G0G_{0}, which is a discrete graph. Take d=bd=b and then the defect D=b|X0|0D=b\cdot|X_{0}|-0 as in the Extension Lemma. Now, select Y0Y_{0} to be a DD-regular graph with girth g(Y0)g2g(Y_{0})\geq\lceil\frac{g}{2}\rceil and minimal order |Y0|=n~(D,g2)|Y_{0}|=\tilde{n}(D,\lceil\frac{g}{2}\rceil). Use the Extension Lemma to get a bb-regular graph Z1=X0φY0Z_{1}=X_{0}\rtimes_{\varphi}Y_{0} as in the Theorem 3.4.

Now consider the edges of Z1Z_{1} to be heavy edges and, in each copy of X0X_{0}, put back the light edges originally present in G0G_{0}. Let us name the resulting wgraph as G1G_{1}. Since g(G0)=gg(G_{0})=g, as in the proof of Theorem 3.4, we have that g(G1)=gg(G_{1})=g. Furthermore, each vertex of G1G_{1} is incident with aa light and bb heavy edges. Hence, G1G_{1} is an (a,b,g)(a,b,g)-wgraph of order n(a,g)n~(D,g2)=n(a,g)n~(bn(a,g),g2)n(a,g)\cdot\tilde{n}(D,\lceil\frac{g}{2}\rceil)=n(a,g)\cdot\tilde{n}(b\cdot n(a,g),\lceil\frac{g}{2}\rceil).

(2) Let G0G_{0} be a (b,g2)(b,\frac{g}{2})-cage. Since b2b\geq 2 and g6g\geq 6, G0G_{0} does exist. The edges of G0G_{0} will produce the heavy edges of the constructed wgraph. Let D=a|G0|D=a\cdot|G_{0}| and let Y0Y_{0} be a DD-regular graph with girth g(Y0)gg(Y_{0})\geq g and minimal order |Y0|=n~(D,g)|Y_{0}|=\tilde{n}(D,g). Y0Y_{0} is the light-subgraph of the sought graph. As before, we can construct G1G_{1}, an (a,b,g)(a,b,g)-wgraph of order n(b,g2)n~(an(b,g2),g)n(b,\frac{g}{2})\cdot\tilde{n}(a\cdot n(b,\frac{g}{2}),g).

(3) Construct an (a,g)(a,g)-cage with weight 1 on its edges, take two copies and complete it with a matching of heavy edges. We claim that no wcycles with a weight less than 6 are formed, since the new wcycles contain at least two heavy edges of the matching, and the rest are light ones, which are also at least two, therefore, the new wcycles have weight at least 6.

(4) Construct a bb-regular graph of girth at least 3 and then consider its edges to be heavy. Take two disjoint copies of that, and complete it with a matching of light edges, taking care that at least one wcycle of weight 6 is formed. As before, no wcycles of weight less than 6 are formed. ∎

4 Moore-like bounds

Much in the way of Moore’s lower bounds for cages [13], we may also provide lower bounds for wcages. As in the classic case, we construct a wtree which must be an induced subwgraph of any wcage of some given parameters, and where all the vertices must be different to avoid creating wcycles of weight less than gg. The result is Theorem 4.1 and this section is devoted to prove it.

Assume first that gg is odd. Start with a root vertex and create a wtree of depth (wdistance from the root) h=(g1)/2=(g1)/2h=\lfloor(g-1)/2\rfloor=(g-1)/2 whose inner vertices have aa and bb light incident edges and heavy incident edges, respectively. All of these vertices must be different since, otherwise we would form a wcycle of weight at most 2h=g1<g2h=g-1<g, which are forbidden. Any (a,b,g)(a,b,g)-wcage must contain this wtree as an induced subwgraph, and hence the order of the wtree is a lower bound for n(a,b,g)n(a,b,g).

Since we have light and heavy edges, we should create the several levels of the wtree, considering the wdistance of the vertices from the root (the root is at level 0), and hence heavy edges skip two levels at a time as in Figure 2. We shall consider two kinds of vertices, the light vertices (in green) and the heavy vertices (in red): Vertices are light or heavy depending on the weight of the edge connecting them to their respective parents. The root vertex is not of any of these kinds, but we shall see that, for counting purposes, it can be considered light or heavy depending on the case at hand.

Figure 2: Moore-like wtree for a=2,b=2,g=9a=2,b=2,g=9.

We define LiL_{i} as the number of light vertices at level ii and HiH_{i} as the number of heavy vertices at level ii. Then it should be clear that the recurrences for light and heavy vertices at level ii are:

Li=(a1)Li1+aHi1,Hi=(b1)Hi2+bLi2.\begin{array}[]{rcl}L_{i}&=&(a-1)L_{i-1}+aH_{i-1},\\ H_{i}&=&(b-1)H_{i-2}+bL_{i-2}.\end{array} (2)

And that, the base cases are:

L0=1,H0=0,L1=a,H1=0.\begin{array}[]{ll}L_{0}=1,&H_{0}=0,\\ L_{1}=a,&H_{1}=0.\end{array} (3)

Note that in this case the root vertex is considered light (L0=1L_{0}=1), since it affects the number of heavy vertices at level 2 according to the recurrence for HiH_{i} in (2), but it does not affect the light vertices at level 1 since those are determined by the base cases in (3) and not by the recurrences.

For future reference, let us name this lower bound.

M1:=M1(a,b,g):=i=0(g1)/2(Li+Hi) using (2) and (3), g is odd.M_{1}:=M_{1}(a,b,g):=\sum_{i=0}^{(g-1)/2}(L_{i}+H_{i})\textup{\hskip 14.22636ptusing (\ref{eq:recurrence}) and (\ref{eq:baseoddgirth}), $g$ is odd.} (4)

Now assume gg is even. As before we can construct a wtree, and again, its depth must be at most h=(g1)/2=(g2)/2h=\lfloor(g-1)/2\rfloor=(g-2)/2 to guarantee that all of the vertices are different (assuming there are no wcycles of weight less than gg). Although we can not add an additional full level preserving this guarantee, we can indeed add an additional level but only to the subwtree of one of the children of the root and still guarantee that all the vertices are different, this is true since h+(h+1)=(g2)/2+(g2)/2+1=g1<gh+(h+1)=(g-2)/2+(g-2)/2+1=g-1<g. Since we have light and heavy edges, this can be done in two different ways as shown in figures 3(a) and 3(b). There, the child of the root selected to have an additional level of descendants is marked with a square box. Any (a,b,g)(a,b,g)-wcage must contain both of these wtrees as induced subwgraphs and hence the orders of these wtrees are both lower bounds for n(a,b,g)n(a,b,g).

(a)(b)(a’)(b’)
Figure 3: Moore-like wtrees for a=2,b=2,g=8a=2,b=2,g=8.

In order to count the vertices of these wtrees, we may proceed as before, but the additional partial levels would require us to resort to two additional sets of recurrences to compute how many light and heavy edges are present in the last two levels of the subwtrees that were expanded, so we can finally count the number of vertices in the additional partial levels. A better idea is to move the selected childs one level up, as in figures 3(a’) and 3(b’). In this way, all the leaves are aligned and the recurrences in (2) hold good for all levels (i2i\geq 2) and all cases. Then we only have to check which the new base cases are. It should be clear that the new base cases when the selected child is light (as in Figure 3(a’)), are:

L0=2,H0=0,L1=2(a1),H1=0.\begin{array}[]{ll}L_{0}=2,&H_{0}=0,\\ L_{1}=2(a-1),&H_{1}=0.\end{array} (5)

Also, the base cases when the selected child is heavy (as in Figure 3(b’)) are:

L0=0,H0=1,L1=a,H1=1.\begin{array}[]{ll}L_{0}=0,&H_{0}=1,\\ L_{1}=a,&H_{1}=1.\end{array} (6)

Note that the root vertex is considered light (L0=2L_{0}=2) in (5) and heavy (H0=1H_{0}=1) in (6) this affects the number of heavy vertices at level 2 as computed with the recurrences (2). Also, the selected child in both cases moves only one level up, so the selected child is at level 0 in Figure 3(a’) and it is at level 1 in Figure 3(b’) in agreement with equations (5) and (6). Let us name these two new lower bounds:

M2:=M2(a,b,g):=i=0(g2)/2(Li+Hi) using (2) and (5), g is even.M_{2}:=M_{2}(a,b,g):=\sum_{i=0}^{(g-2)/2}(L_{i}+H_{i})\textup{\hskip 14.22636ptusing (\ref{eq:recurrence}) and (\ref{eq:baseevengirth1}), $g$ is even.} (7)
M3:=M3(a,b,g):=i=0(g2)/2(Li+Hi) using (2) and (6), g is even.M_{3}:=M_{3}(a,b,g):=\sum_{i=0}^{(g-2)/2}(L_{i}+H_{i})\textup{\hskip 14.22636ptusing (\ref{eq:recurrence}) and (\ref{eq:baseevengirth2}), $g$ is even.} (8)

Let n=n(a,b,g)n=n(a,b,g). Note that parity forbids both an1an\equiv 1 and bn1bn\equiv 1, hence we can add one to each lower bound whenever the bound itself is odd and either aa or bb is odd. Hence, for i{1,2,3}i\in\{1,2,3\}, we define:

Mi+={Mi+1 if Mi is odd and either a or b is odd,Mi otherwise.M_{i}^{+}=\begin{cases}M_{i}+1&\textup{ if $M_{i}$ is odd and either $a$ or $b$ is odd,}\\ M_{i}&\textup{ otherwise.}\end{cases}

Therefore, in this section we have proven that n(a,b,g)M1+n(a,b,g)\geq M_{1}^{+}, for odd gg, and that n(a,b,g)max{M2+,M3+}n(a,b,g)\geq\max\{M_{2}^{+},M_{3}^{+}\}, for even gg. However, we have found in practice that almost always we have that M2M3M_{2}\geq M_{3} (and hence that M2+M3+M_{2}^{+}\geq M_{3}^{+}). The only relevant exception we have found is M3(1,2,10)=15>14=M2(1,2,10)M_{3}(1,2,10)=15>14=M_{2}(1,2,10) (other exceptions occur when the (a,b,g)(a,b,g)-wcage does not even exist). Hence we prefer to state the theorem that we have proven in this section as follows:

Theorem 4.1.

Let a1a\geq 1, b1b\geq 1, g3g\geq 3. Then we have:

n(a,b,g)M1+ when g is odd,n(a,b,g)M2+ when g is even.n(a,b,g)M3+=16 when a=1,b=2,g=10.\begin{array}[]{llll}n(a,b,g)&\geq&M_{1}^{+}&\textup{ when $g$ is odd,}\\ n(a,b,g)&\geq&M_{2}^{+}&\textup{ when $g$ is even.}\\ n(a,b,g)&\geq&M_{3}^{+}=16&\textup{ when $a=1,b=2,g=10$.}\\ \end{array}

We shall collectively denote these lower bounds (M1+M_{1}^{+}, M2+M_{2}^{+} and M3+M_{3}^{+}, according to the cases as in the previous Theorem) simply by n0(a,b,g)n_{0}(a,b,g). Hence the previous Theorem says that n(a,b,g)n0(a,b,g)n(a,b,g)\geq n_{0}(a,b,g). Note that the standard Moore lower bound for ordinary cages is n0(r,g)=n0(r,0,g)n_{0}(r,g)=n_{0}(r,0,g), and that the standard Moore trees are the same as the trees in this section in the case b=0b=0. Whenever we have an (a,b,g)(a,b,g)-wgraph of order nn, we shall say that its excess is nn0(a,b,g)n-n_{0}(a,b,g). It is straightforward to verify that these lower bounds give the following closed formulas (we used GAP [12] for the required symbolic computations):

g=3:M1=a+1g=5:M1=a2+b+1g=7:M1=a3a2+2ab+a+b+1g=9:M1=a42a3+3a2b+2a2+b2+1g=11:M1=a53a4+4a3b+4a33a2b+3ab22a2+b2+a+1g=4:M2=2ag=6:M2=2a22a+2b+2g=8:M2=2a34a2+4ab+4ag=10:M2=2a46a3+6a2b+8a24ab+2b24a+2g=12:M2=2a58a4+8a3b+14a312a2b+6ab212a2+4ab+6a\begin{array}[]{ll}g=3:&M_{1}=a+1\\ g=5:&M_{1}=a^{2}+b+1\\ g=7:&M_{1}=a^{3}-a^{2}+2ab+a+b+1\\ g=9:&M_{1}=a^{4}-2a^{3}+3a^{2}b+2a^{2}+b^{2}+1\\ g=11:&M_{1}=a^{5}-3a^{4}+4a^{3}b+4a^{3}-3a^{2}b+3ab^{2}-2a^{2}+b^{2}+a+1\\ &\\ g=4:&M_{2}=2a\\ g=6:&M_{2}=2a^{2}-2a+2b+2\\ g=8:&M_{2}=2a^{3}-4a^{2}+4ab+4a\\ g=10:&M_{2}=2a^{4}-6a^{3}+6a^{2}b+8a^{2}-4ab+2b^{2}-4a+2\\ g=12:&M_{2}=2a^{5}-8a^{4}+8a^{3}b+14a^{3}-12a^{2}b+6ab^{2}-12a^{2}+4ab+6a\end{array}

These lower bounds are not great for g=3g=3 or g=4g=4 as we also have the lower bound n(a,b,g)a+b+1n(a,b,g)\geq a+b+1 from Lemma 2.1, which often surpasses both of these bounds. In the following two sections we shall determine n(a,b,g)n(a,b,g) for g=3,4g=3,4. After that (sections 7 and 8), we shall see that these lower bounds are much better for g=5,6g=5,6, and that they are relevant for g7g\geq 7.

5 Weighted cages of girth 3

We shall prove Theorem 5.1 which characterizes n(a,b,3)n(a,b,3). Recall by Lemma 2.1 that, in general, we have that n(a,b,g)a+b+1n(a,b,g)\geq a+b+1 and that, when ab1ab\equiv 1, we have n(a,b,g)a+b+2n(a,b,g)\geq a+b+2. Hence, Theorem 5.1 says that these lower bounds are sharp except for the first two conditions in the Theorem. Note that a wcycle of girth g=3g=3 must use only light edges and hence the heavy edges can be placed freely in our wgraph never affecting the already minimal girth of the wgraph.

A frequently used idea is that if n=a+b+1n=a+b+1 and LL is already aa-regular of girth g=3g=3, then its complement H=L¯H=\overline{L} can always be used to obtain the desired wgraph G=(L,H)=(L,L¯)G=(L,H)=(L,\overline{L}).

Theorem 5.1.

For each a0a\geq 0 and b0b\geq 0 we have that

n(a,b,3)={if a<26if a=2 and b{1,2}a+b+1if a=2 and b{1,2}a+b+1if a3 and ab0a+b+2if a3 and ab1n(a,b,3)=\begin{cases}\infty&\textrm{if }a<2\\ 6&\textrm{if }a=2\textrm{ and }b\in\{1,2\}\\ a+b+1&\textrm{if }a=2\textrm{ and }b\not\in\{1,2\}\\ a+b+1&\textrm{if }a\geq 3\textrm{ and }ab\equiv 0\\ a+b+2&\textrm{if }a\geq 3\textrm{ and }ab\equiv 1\end{cases}
Proof.

Case 1 [a<2a<2]: Immediate form Lemma 3.1.

Case 2 [a=2a=2 and b{1,2}b\in\{1,2\}]: Let GG be an (a,b,3)(a,b,3)-wcage and let LL its light-subgraph. Since a=2a=2, LL is a disjoint union of cycles. Since g=3g=3 one of these cycles must be a triangle. Since b>0b>0, we need at least two cycles in LL and since cycles have length at least 3, it follows that n(2,b,3)6n(2,b,3)\geq 6 in this case. It should be clear that the required heavy edges can always be added to the disjoint union of two triangles. Hence n(2,b,3)=6n(2,b,3)=6 for b{1,2}b\in\{1,2\}.

Case 3 [a=2a=2 and b{1,2}b\not\in\{1,2\}]: Take n=a+b+1=b+3n=a+b+1=b+3. For b=0b=0 a triangle GG will work. For b3b\geq 3, we can take LL as the disjoint union of a triangle and a cycle of length bb. Then G=(L,L¯)G=(L,\overline{L}) is the required wgraph.

Case 4 [a3a\geq 3 and ab0ab\equiv 0]: Take n=a+b+1n=a+b+1.

Assume first that ab0a\equiv b\equiv 0. Then n1n\equiv 1, a4a\geq 4 and n5n\geq 5. Take FiF_{i} as in Lemma 2.2 and take L=i=1a2FiL=\bigcup_{i=1}^{\frac{a}{2}}F_{i}. Then G=(L,L¯)G=(L,\overline{L}) is the required wgraph.

Assume now that aba\not\equiv b. Then n0n\equiv 0 and n4n\geq 4. Take F~i\tilde{F}_{i} as in Lemma 2.3 and L=0a1F~iL=\bigcup_{0}^{a-1}\tilde{F}_{i}. Then G=(L,L¯)G=(L,\overline{L}) is the required wgraph.

Case 5 [a3a\geq 3 and ab1ab\equiv 1]: In this case, we have na+b+2n\geq a+b+2 by Lemma 2.1, but we can indeed provide a wgraph on a+b+2a+b+2 vertices with the required parameters: Take n=a+b+20n=a+b+2\equiv 0 and take F~i\tilde{F}_{i} as in Lemma 2.3. Now take L=i=0a1F~iL=\bigcup_{i=0}^{a-1}\tilde{F}_{i} and H=i=an3F~iH=\bigcup_{i=a}^{n-3}\tilde{F}_{i}. Since n3=a+b1n-3=a+b-1, HH is bb-regular and G=(L,H)G=(L,H) is the required wgraph. ∎

6 Weighted cages of girth 4

In this section we prove Theorem 6.4 that determine the values n(a,b,4)n(a,b,4) for each a0a\geq 0 and b0b\geq 0. Besides the lower bounds in Lemma 2.1, we also have the bound n(a,b,4)M2=2an(a,b,4)\geq M_{2}=2a from page 4. Hence, Theorem 6.4 says that n(a,b,4)n(a,b,4) stays close to these bounds except when a<2a<2. This time we have to avoid triangles in L=L(G)L=L(G) and also, we have to guarantee a wcycle of weight 4 in GG, which may be formed by four light edges or by two light edges and a heavy edge. Once this is achieved, we can add heavy edges freely to GG without changing the girth of GG. Also, if LL is already aa-regular of girth 44 and order n=a+b+1n=a+b+1, then we can always get the required wgraph by taking G=(L,L¯)G=(L,\overline{L}).

Lemma 6.1.

If 3ab3\leq a\leq b and aba\equiv b, then n(a,b,4)a+b+2n(a,b,4)\leq a+b+2.

Proof.

Let n=a+b+20n=a+b+2\equiv 0 and m=n2a+1m=\frac{n}{2}\geq a+1. Note that mb+1m\leq b+1. Let X,YX,Y be the parts of the complete bipartite graph Km,mK_{m,m} considered in Lemma 2.4 and also let F^i\hat{F}_{i} as in that lemma. Take L=i=0a1F^iL=\bigcup_{i=0}^{a-1}\hat{F}_{i}. Clearly LL is aa-regular, of girth 4 and order nn. For HH, take all possible edges within XX and all possible edges within YY. At this point, HH is already (m1)(m-1)-regular, since mb+1m\leq b+1, HH could already be bb-regular, but if not, the extra edges may obtained by adding to HH the edges of i=am2F^i\bigcup_{i=a}^{m-2}\hat{F}_{i}. Since (m1)+(m2a+1)=2ma2=b(m-1)+(m-2-a+1)=2m-a-2=b, HH is now bb-regular and G=(L,H)G=(L,H) is the required wgraph. ∎

Lemma 6.2.

If 3ab,a03\leq a\leq b,a\equiv 0 and b>3a22b>\frac{3a}{2}-2 then n(a,b,g)=a+b+1n(a,b,g)=a+b+1.

Proof.

As before, it will suffice to construct an aa-regular graph LL of girth 4 and order n=a+b+1n=a+b+1. By our hypotheses, we have b3a21b\geq\frac{3a}{2}-1 and hence n5a2n\geq\frac{5a}{2}. Let rr and kk be integers such that n=5a2+a2r+kn=\frac{5a}{2}+\frac{a}{2}r+k with r0r\geq 0 and 0k<a20\leq k<\frac{a}{2}.

Assume first that r=0r=0. Figure 4 shows a diagram of our construction. There, each node represents an independent set of vertices of the indicated cardinality (a2\frac{a}{2} for the round nodes and a2+k\frac{a}{2}+k or a2k\frac{a}{2}-k for the others). A solid line in the diagram, means to add all possible edges between the corresponding independent sets. The dashed line, means to add edges between the corresponding independent sets in such a way as to form an a2\frac{a}{2}-regular bipartite graph among them. It is straightforward to verify that the just constructed graph LL is aa-regular, of girth 4 and of order n=5a2+kn=\frac{5a}{2}+k.

a2+k\frac{a}{2}+ka2+k\frac{a}{2}+ka2\frac{a}{2}a2\frac{a}{2}a2k\frac{a}{2}-ka2\frac{a}{2}
Figure 4: Construction of (a,b,4)-wcages for n=5a2+kn=\frac{5a}{2}+k.

Assume now, that r1r\geq 1. Figure 5 shows a diagram of our construction. As before, our n=5a2+a2r+kn=\frac{5a}{2}+\frac{a}{2}r+k vertices are partitioned into independent sets indicated by the nodes in the diagram: round nodes contain a2\frac{a}{2} vertices and the other node contains kk vertices, the number of gray nodes must be rr (and hence there is at least one) always forming a path as indicated in the diagram (hence, Figure 5 illustrates the case r=4r=4). Again, the solid lines means to add all possible edges there and the dashed lines means to add edges in such a way as to form an ss-regular bipartite graph there (the value of ss is indicated by the number near the dashed line). It is then straightforward to verify that the just constructed graph LL is aa-regular, of girth 4 and of order n=5a2+a2r+kn=\frac{5a}{2}+\frac{a}{2}r+k.

kka2\frac{a}{2}a2\frac{a}{2}a2\frac{a}{2}a2\frac{a}{2}a2\frac{a}{2}a2\frac{a}{2}a2\frac{a}{2}a2\frac{a}{2}a2\frac{a}{2}a2k\frac{a}{2}-kkka2k\frac{a}{2}-k
Figure 5: Construction of (a,b,4)-wcages for n=5a2+a2r+kn=\frac{5a}{2}+\frac{a}{2}r+k with r=4r=4.

Lemma 6.3.

Let a0a\equiv 0 and n1n\equiv 1 with 2a<n<5a22a<n<\frac{5a}{2}. Then every aa-regular graph LL on nn vertices has a triangle.

Proof.

Let LL be a triangle-free aa-regular graph with nn vertices, nn an odd integer and 2a<n<5a22a<n<\frac{5a}{2}.

Let xx and yy be two adjacent vertices and let Ax=N(x){y}A_{x}=N(x)\setminus\{y\} and Ay=N(y){x}A_{y}=N(y)\setminus\{x\}. Then, AxAyA_{x}\cap A_{y} is empty. Hence, I:=V(AxAy{x,y})I:=V\setminus(A_{x}\cup A_{y}\cup\{x,y\}) has n2aa21n-2a\leq\frac{a}{2}-1 vertices, since |Ax|=|Ay|=a1|A_{x}|=|A_{y}|=a-1. Moreover, |I||I| is odd and each vertex uIu\in I has at least a2+2\frac{a}{2}+2 neighbors not in II.

We first prove that for each vertex uu in II, N(u)AxN(u)\cap A_{x} is empty or N(u)AyN(u)\cap A_{y} is empty. For the sake of a contradiction, let us assume without loss of generality that a vertex uIu\in I has kk neighbors in II, lxl_{x} neighbors in AxA_{x} and lyl_{y} neighbors in AyA_{y}, with lxly1l_{x}\geq l_{y}\geq 1. Then, a=k+lx+lya=k+l_{x}+l_{y}. Let wN(u)Ayw\in N(u)\cap A_{y}. Then

N(w){y}(AxN(u))(IN(u)).N(w)\subseteq\{y\}\cup(A_{x}\setminus N(u))\cup(I\setminus N(u)).

Thus, as |Ax|=a1|A_{x}|=a-1, we get that

a1+|Ax||AxN(u)|+|I||IN(u)|=alx+|I|k.a\leq 1+|A_{x}|-|A_{x}\cap N(u)|+|I|-|I\cap N(u)|=a-l_{x}+|I|-k.

Hence, lx+k|I|l_{x}+k\leq|I|. But, since lxlyl_{x}\geq l_{y} and k+lx+ly=ak+l_{x}+l_{y}=a, we get the contradiction 2|I|a2|I|\geq a.

This property allows us to split II into the sets IxI_{x} and IyI_{y}, where IxI_{x} (resp. IyI_{y}) contains all vertices in II having a neighbor in AxA_{x} (resp. AyA_{y}).

Let uIxu\in I_{x}. Then, uu has no neighbors in AyA_{y} and it has at most a22\frac{a}{2}-2 neighbors in II. Hence, it has at least a2+2\frac{a}{2}+2 neighbors in AxA_{x}. Therefore, the set IxI_{x} is independent. A similar argument shows that the set IyI_{y} is independent as well.

For sets XX and YY, let e(X,Y)e(X,Y) denotes the number of edges between XX and YY. We have that

a|Ix|=e(Ix,Ax)+e(Ix,Iy),a|I_{x}|=e(I_{x},A_{x})+e(I_{x},I_{y}),
a|Iy|=e(Iy,Ay)+e(Iy,Ix),a|I_{y}|=e(I_{y},A_{y})+e(I_{y},I_{x}),

and

(a1)2=e(Ax,Ay)+e(Ax,Ix)=e(Ax,Ay)+e(Ay,Iy).(a-1)^{2}=e(A_{x},A_{y})+e(A_{x},I_{x})=e(A_{x},A_{y})+e(A_{y},I_{y}).

These equalities imply that |Ix|=|Iy||I_{x}|=|I_{y}| which is not possible when II is odd. ∎

Theorem 6.4.

For each a0a\geq 0 and b0b\geq 0 we have that

n(a,b,4)={ if a<22a if a=2 and b=0a+b+1 if a=2 and b12a if 3a>b and ab02a+2 if 3a>b and ab1a+b+1 if 3ab and aba+b+2 if 3ab,ab1a+b+2 if 3ab,ab0 and b3a22a+b+1 if 3ab,ab0 and b>3a22.n(a,b,4)=\begin{cases}\infty&\textrm{ if }a<2\\ 2a&\textrm{ if }a=2\textrm{ and }b=0\\ a+b+1&\textrm{ if }a=2\textrm{ and }b\geq 1\\ 2a&\textrm{ if }3\leq a>b\textrm{ and }ab\equiv 0\\ 2a+2&\textrm{ if }3\leq a>b\textrm{ and }ab\equiv 1\\ a+b+1&\textrm{ if }3\leq a\leq b\textrm{ and }a\not\equiv b\\ a+b+2&\textrm{ if }3\leq a\leq b,a\equiv b\equiv 1\\ a+b+2&\textrm{ if }3\leq a\leq b,a\equiv b\equiv 0\textrm{ and }b\leq\frac{3a}{2}-2\\ a+b+1&\textrm{ if }3\leq a\leq b,a\equiv b\equiv 0\textrm{ and }b>\frac{3a}{2}-2.\end{cases}
Proof.

Recall that n(a,b,4)a+b+1n(a,b,4)\geq a+b+1 and that n(a,b,4)2an(a,b,4)\geq 2a, so constructions of these orders immediately determine n(a,b,4)n(a,b,4).

Case 1 [a<2a<2]: Immediate from Lemma 3.1.

Case 2 [a=2a=2, b=0b=0]: Immediate.

Case 3 [a=2a=2, b1b\geq 1]: Take n=a+b+14n=a+b+1\geq 4 and LL as a cycle of length nn. Take G=(L,L¯)G=(L,\overline{L}). The girth 44 in GG is guaranteed by any two consecutive edges in the cycle and the corresponding heavy chord. Thus GG is the required wgraph.

Case 4 [3a>b3\leq a>b and ab0ab\equiv 0]: Take n=2an=2a and L=Ka,aL=K_{a,a}. Since a3a\geq 3, LL already has girth 44. Let XX and YY be the independent parts of LL on aa vertices each. Since a>ba>b, we can always put a bb-regular graph in each of XX and YY: it is immediate for a=3a=3; use Lemma 2.3 when 4a04\leq a\equiv 0 or use Lemma 2.2 when 5a15\leq a\equiv 1, b0b\equiv 0. Let HH be the disjoint union of these two bb-regular graphs, then G=(L,H)G=(L,H) is the sought wgraph.

Case 5 [3a>b3\leq a>b and ab1ab\equiv 1]: If there is a wgraph GG with the required parameters and |G|=2a|G|=2a, by Turán’s Theorem, we must have L=L(G)=Ka,aL=L(G)=K_{a,a}. But then, since ab1a\equiv b\equiv 1, parity forbids to add the required heavy edges to the parts XX, YY of LL to obtain GG. Also, since a1a\equiv 1, parity forbids |G|=|L|=2a+1|G|=|L|=2a+1. Hence n(a,b,4)2a+2n(a,b,4)\geq 2a+2 in this case. Let n=2a+2n=2a+2, let MM be a matching of Ka+1,a+1K_{a+1,a+1} and take L=Ka+1,a+1ML=K_{a+1,a+1}-M. Then 4a+104\leq a+1\equiv 0 and by Lemma 2.3 we can add the required heavy edges to the parts XX, YY of LL to obtain a bb-regular HH. Hence G=(L,H)G=(L,H) is the required wgraph.

Case 6 [3ab3\leq a\leq b and aba\not\equiv b]: Take n=a+b+10n=a+b+1\equiv 0 and m=n2>am=\frac{n}{2}>a. Take Fi^\hat{F_{i}} as in Lemma 2.4. Define L=i=0a1F^iL=\bigcup_{i=0}^{a-1}\hat{F}_{i}, then LL is aa-regular of girth 44. Hence G=(L,L¯)G=(L,\overline{L}) is the required wgraph.

Case 7 [3ab3\leq a\leq b and ab1a\equiv b\equiv 1]: Parity forbids |G|=a+b+1|G|=a+b+1. Hence n(a,b,4)=a+b+2n(a,b,4)=a+b+2 by Lemma 6.1.

Case 8 [3ab3\leq a\leq b, ab0a\equiv b\equiv 0 and b3a22b\leq\frac{3a}{2}-2]: Assume first that n=a+b+1n=a+b+1 and that G=(L,H)G=(L,H) is an (a,b,4)(a,b,4)-wcage on nn vertices. Note that n1n\equiv 1. By our hypotheses, we have that n=a+b+1a+3a22+1<5a2n=a+b+1\leq a+\frac{3a}{2}-2+1<\frac{5a}{2} and that n=a+b+12a+1>2an=a+b+1\geq 2a+1>2a. Hence, by Lemma 6.3, LL has a triangle, which is a contradiction. It follows that n(a,b,4)a+b+2n(a,b,4)\geq a+b+2 and by Lemma 6.1, that n(a,b,4)=a+b+2n(a,b,4)=a+b+2.

Case 9 [3ab3\leq a\leq b, ab0a\equiv b\equiv 0 and b>3a22b>\frac{3a}{2}-2]: Immediate from Lemma 6.2. ∎

We find interesting the following reinterpretation of the results in this section:

Theorem 6.5.

For each a3a\geq 3 there is an aa-regular graph with girth four and nn vertices if and only if any of the following cases holds.

  1. 1.

    n0n\equiv 0 and n2an\geq 2a or,

  2. 2.

    n1n\equiv 1 and a0a\equiv 0 and n5a2n\geq\frac{5a}{2}.

Proof.

Let aa, nn as in the statement. Assume LL is an aa-regular graph of girth 4 and order nn (if it exists). Since n(a,b,4)2an(a,b,4)\geq 2a, no such LL exists for |L|<2a|L|<2a.

Assume first that n0n\equiv 0 and n2an\geq 2a, then take m=n2m=\frac{n}{2} and F^i\hat{F}_{i} as in Lemma 2.4, now L=i=0a1F^iL=\bigcup_{i=0}^{a-1}\hat{F}_{i} is the required graph. Note that parity forbids na1n\equiv a\equiv 1. Assume next that n1n\equiv 1, a0a\equiv 0 and 2a<n<5a22a<n<\frac{5a}{2}, then, by Lemma 6.3, LL does not exist. Finally, if n1n\equiv 1, a0a\equiv 0 and n5a2n\geq\frac{5a}{2}, take b=na1b=n-a-1. Then b3a21>3a22b\geq\frac{3a}{2}-1>\frac{3a}{2}-2. By Lemma 6.2, there is an (a,b,g)(a,b,g)-wgraph on a+b+1a+b+1 vertices. Then L=L(G)L=L(G) is the required graph. ∎

7 Weighted cages of girth 5 and 6

Contrary to the cases g=3g=3 and g=4g=4, our Moore-like bounds in Theorem 4.1 are very good for g=5g=5 and g=6g=6. Indeed we shall see in the next section that for these values of gg, n(a,b,g)n(a,b,g) coincides with the corresponding Moore-like bound for all the finite values that we could compute, except for n(4,1,5)=20>18=M1+(4,1,5)n(4,1,5)=20>18=M_{1}^{+}(4,1,5). The following theorem proves that this is indeed the case at least for a=1,2a=1,2:

Theorem 7.1.

If n(a,b,5)<n(a,b,5)<\infty and a{1,2}a\in\{1,2\}, then n(a,b,5)=M1+(a,b,5)n(a,b,5)=M_{1}^{+}(a,b,5). Also, if n(a,b,6)<n(a,b,6)<\infty and a{1,2}a\in\{1,2\} then n(a,b,6)=M2+(a,b,6)n(a,b,6)=M_{2}^{+}(a,b,6).

For the reader’s convenience and using the polynomials in page 4, we restate the previous theorem in the following equivalent form:

Theorem 7.2.

The following relations hold:

n(1,b,5)=b+2n(1,b,5)=b+2 for 2b02\leq b\equiv 0,
n(1,b,5)=b+3n(1,b,5)=b+3 for 3b13\leq b\equiv 1,
n(2,b,5)=b+5n(2,b,5)=b+5
n(1,b,6)=2b+2n(1,b,6)=2b+2 for b1b\geq 1,
n(2,b,6)=2b+6n(2,b,6)=2b+6,
Proof.

Since the values match the lower bounds M1+(a,b,5)M_{1}^{+}(a,b,5) or M2+(a,b,6)M_{2}^{+}(a,b,6), it will suffice to give constructions matching these values.

Case 1 [a=1a=1, g=5g=5 and 2b02\leq b\equiv 0]: Take n=b+20n=b+2\equiv 0 and take L=F~0L=\tilde{F}_{0} (see Lemma 2.3). Then G=(L,L¯)G=(L,\overline{L}) guarantees n(a,b,g)b+2n(a,b,g)\leq b+2.

Case 2 [a=1a=1, g=5g=5 and 3b13\leq b\equiv 1]: Take n=b+30n=b+3\equiv 0, L=F~0L=\tilde{F}_{0} and H=i=1n3F~iH=\bigcup_{i=1}^{n-3}\tilde{F}_{i}. Then G=(L,H)G=(L,H) guaranties n(a,b,g)b+3n(a,b,g)\leq b+3.

Case 3 [a=2a=2 and g=5g=5]: Take n=b+5n=b+5. Note that nn may be even or odd. Take L=CnL=C_{n}, the nn-cycle. Let H=L2¯H=\overline{L^{2}} (in this case, L2Cn(1,2)L^{2}\cong C_{n}(1,2) is the circulant on nn vertices with jumps 1 and 2). Now G=(L,H)G=(L,H) guaranties n(a,b,g)b+5n(a,b,g)\leq b+5.

Case 4 [a=1a=1, g=6g=6 and b1b\geq 1]: Take n=2b+20n=2b+2\equiv 0 and m=n2=b+1m=\frac{n}{2}=b+1. Take H=Km\cupdotKmH=K_{m}\cupdot K_{m} and let LL be a matching between these two complete subgraphs. Then G=(L,H)G=(L,H) guaranties n(a,b,g)2b+2n(a,b,g)\leq 2b+2.

Case 5 [a=2a=2 and g=6g=6]: Take n=2b+60n=2b+6\equiv 0 and m=n2=b+3m=\frac{n}{2}=b+3. Take H=Cm¯\cupdotCm¯H=\overline{C_{m}}\cupdot\overline{C_{m}} and let LL be a 2m2m-cycle zigzagging between these two complements of cycles, taking care that no two consecutive edges of LL join two adjacent vertices in HH. Then G=(L,H)G=(L,H) guaranties n(a,b,g)2b+6n(a,b,g)\leq 2b+6. ∎

8 Experimental results

We used computerized, exhaustive searches using backtracking with symmetry reductions to obtain the values of n(a,b,g)n(a,b,g) in the following tables. The experimental results for the cases g=3g=3 and g=4g=4 coincide with the characterizations in the respective sections, and hence they are omitted here. We also omit the cases a=0a=0 and b=0b=0 since those were already characterized in the preliminaries section. Blank squares are unknown values. In all these cases the computed values differ by either 0, 2 or 4 from the respective Moore-like bounds in Theorem 4.1. When the difference is 2 the number in the table is in boldface and black, when the difference is 4 the number in the table is in blue. We used GAP [12] and YAGS [5] for these computations.

n(a,b,5)n(a,b,5)
a\ba\backslash b 1 2 3 4 5 6 7 8 1 \infty 4 6 6 8 8 10 10 2 6 7 8 9 10 11 12 13 3 12 12 14 14 16 16 4 20 19 20 21

n(a,b,6)n(a,b,6)
a\ba\backslash b 1 2 3 4 5 6 7 8 1 4 6 8 10 12 14 16 18 2 8 10 12 14 16 18 20 3 16 18 20 22 24 4 28 30 32

n(a,b,7)n(a,b,7)
a\ba\backslash b 1 2 3 4 5 1 \infty 10 14 18 22 2 14 19

n(a,b,8)n(a,b,8)
a\ba\backslash b 1 2 3 4 1 \infty 10 16 20 2 16 24

n(a,b,9)n(a,b,9)
a\ba\backslash b 1 2 3 1 6 14 24 2 24

n(a,b,10)n(a,b,10)
a\ba\backslash b 1 2 3 1 \infty 16 28 2 32

Besides the values in the tables, we also computed n(1,2,11)=24=M1++4n(1,2,11)=24=M_{1}^{+}+4, n(1,2,12)=26=M2+n(1,2,12)=26=M_{2}^{+} and n(5,2,6)=46=M2+n(5,2,6)=46=M_{2}^{+}.

9 General constructions for (a,b,g)(a,b,g)-wcages

Let XX be an (r,g)(r,g^{\prime})-cage. Assume that XX has an aa-factor FF. Then G=(F,XF)G=(F,X-F) is an (a,ra,g)(a,r-a,g)-wgraph for some girth gg with gg2gg^{\prime}\leq g\leq 2g^{\prime}, thus n(a,ra,g)n(r,g)n(a,r-a,g)\leq n(r,g^{\prime}) in this case. Assume further that FF is an aa-factor of girth g(F)g+1g(F)\geq g^{\prime}+1, then we have gg+1g\geq g^{\prime}+1: This is true since a cycle of length gg^{\prime} in XX can not be a cycle of FF and hence every cycle in GG must contain at least one heavy edge. Moreover, if XX contains both a aa-factor FF with g(F)g+1g(F)\geq g^{\prime}+1 and a cycle CC of girth gg^{\prime} with |E(C)E(F)|=1|E(C)-E(F)|=1, then g=g+1g=g^{\prime}+1.

A case of special interest is when XX is Hamiltonian. In this case, the Hamiltonian cycle FF is a 22-factor an certainly g(F)g+1g(F)\geq g^{\prime}+1 whenever r3r\geq 3. It follows that G=(F,XF)G=(F,X-F) is a (2,r2,g)(2,r-2,g)-wgraph for some gg with g+1g2gg^{\prime}+1\leq g\leq 2g^{\prime}.

These constructions can be applied in many cases to obtain upper bounds for (a,b,g)(a,b,g)-wcages. At least in the following cases, this method matches the experimental results in the previous section and hence, the produced wgraphs are indeed wcages:

  1. 1.

    Petersen’s graph: n(3,5)=10n(3,5)=10, gives n(1,2,8)=10n(1,2,8)=10.

  2. 2.

    Heawood’s graph: n(3,6)=14n(3,6)=14 gives n(2,1,7)=14n(2,1,7)=14 and n(1,2,9)=14n(1,2,9)=14.

  3. 3.

    McGee’s graph: n(3,7)=24n(3,7)=24 gives n(2,1,9)=24n(2,1,9)=24 and n(1,2,11)=24n(1,2,11)=24.

Moreover, in the following cases the constructions give interesting (a,b,g)(a,b,g)-wgraphs of small excess:

  1. 1.

    Hoffman-Singleton graph: n(7,5)=50n(7,5)=50 gives a (5,2,6)(5,2,6)-wgraph on 50 vertices (but n(5,2,6)=46n(5,2,6)=46).

  2. 2.

    Tutte-Coxeter Graph: n(3,8)=30n(3,8)=30 gives a (1,2,12)(1,2,12)-wgraph on 30 vertices, (but n(1,2,12)=26n(1,2,12)=26).

Recall that a Moore cage XX is an (r,g)(r,g^{\prime})-cage that attains the Moore bound, and that the Moore bound is n0(r,g)=n0(r,0,g)n_{0}(r,g^{\prime})=n_{0}(r,0,g^{\prime}) as described after Theorem 4.1. Recall that this bounds come from the trees described in Section 4, which in the case a=ra=r, b=0b=0 gives the standard Moore trees.

Theorem 9.1.

Assume r3r\geq 3, g0g^{\prime}\equiv 0 and that there is an (r,g)(r,g^{\prime})-cage which is a Hamiltonian Moore cage, then we have that:

n(2,r2,g)n0(r,g)n(2,r-2,g)\leq n_{0}(r,g^{\prime})

for some gg with g+1g32g1g^{\prime}+1\leq g\leq\frac{3}{2}g^{\prime}-1.

Proof.

Let XX be an (r,g)(r,g^{\prime})-cage which is a Hamiltonian Moore cage, with g0g^{\prime}\equiv 0 and r3r\geq 3. Let CC be a Hamiltonian cycle of XX. Starting with any edge xyXxy\in X, we can construct its Moore tree TT within XX, which consist of xyxy and two subtrees of TT, TxT_{x} and TyT_{y}, which are rooted at xx and yy respectively. Each of these trees have depth g22\frac{g^{\prime}-2}{2}. Since XX is a Moore cage, this tree TT is a spanning subgraph of XX and the rest of the edges of XX connect leaves in TxT_{x} to leaves in TyT_{y}.

Then we can construct the wgraph G=(C,GC)G=(C,G-C), which is a (2,r2,g)(2,r-2,g)-wgraph, for some girth gg satisfying gg+1g\geq g^{\prime}+1. We take an edge xyCxy\in C and construct the Moore tree TT in XX starting with it. Then CC must pass by xyxy and go down from there to some leaf x^\hat{x} of TxT_{x} and some leaf y^\hat{y} of TyT_{y}. Let PxP_{x} and PyP_{y} be the corresponding paths in TT that go from xx to x^\hat{x} and from yy to y^\hat{y}.

Let y1,y2,,yr1y_{1},y_{2},\ldots,y_{r-1} be the neighbours of yy in TyT_{y}, assume without loss that y1y_{1} is in CC. Consider the subtrees TyiT_{y_{i}} of TT rooted at yiy_{i} for i=1,2,,r1i=1,2,\ldots,r-1. All of these trees have height g42\frac{g^{\prime}-4}{2}. Notice that y^\hat{y} is a leaf of Ty1T_{y_{1}}.

If x^\hat{x} and y^\hat{y} are adjacent in XX, clearly x^y^\hat{x}\hat{y} is not in CC, and then we have a cycle of weight g+1g^{\prime}+1 on GG. Suppose that x^\hat{x} and y^\hat{y} are not adjacent in XX. Since the girth of XX is gg^{\prime} and x^\hat{x} is has degree rr, x^\hat{x} must be adjacent to exactly one leaf of each of Ty1,Ty2,,Tyr1T_{y_{1}},T_{y_{2}},\ldots,T_{y_{r-1}}. Hence, there is a neighbour, yy^{\prime}, of x^\hat{x} among the leaves of Ty1T_{y_{1}}. Let Py1P^{\prime}_{y_{1}} be the path in T1T_{1} from y1y_{1} to yy^{\prime}. Then there is a cycle C=Pxxyyy1Py1x^yC^{\prime}=P_{x}\cup xy\cup yy_{1}\cup P^{\prime}_{y_{1}}\cup\hat{x}y^{\prime} of length gg^{\prime} in XX with at least g+22\frac{g^{\prime}+2}{2} edges in CC and at most g22\frac{g^{\prime}-2}{2} not in CC. Hence, the girth of GG is bounded by the weight of CC^{\prime} as follows gg+22+2(g22)=32g1.g\leq\frac{g^{\prime}+2}{2}+2\left(\frac{g^{\prime}-2}{2}\right)=\frac{3}{2}g^{\prime}-1. We conclude that g+1g32g1.g^{\prime}+1\leq g\leq\frac{3}{2}g^{\prime}-1.

The previous theorem is still true if we replace g0g^{\prime}\equiv 0 with g1g^{\prime}\equiv 1 and the upper bound with g32g12g\leq\frac{3}{2}g^{\prime}-\frac{1}{2}. However, besides the hypothetical (57,5)(57,5)-cage, the only Hamiltonian Moore cages of odd girth with r3r\geq 3 are the complete graphs and the Hoffman-Singleton graph [8]. The complete graphs only give easy bounds already established in Theorem 6.4, and the Hoffman-Singleton graph gives a bad upper bound: n(2,5,6)=16<50=n(7,5)n(2,5,6)=16<50=n(7,5).

It is a well known observation that all Moore (r,6)(r,6)-cages are incidence graphs of projective planes of order (r1)(r-1) (see for instance [6]). Also, we know from [15] that all of them are Hamiltonian. Furthermore, it is also well known that projective planes, and hence Moore cages of girth 66, exists when (r1)(r-1) is a prime power and that n0(r,6)=2(r2r+1)n_{0}(r,6)=2(r^{2}-r+1). Hence, the previous Theorem gives us the following corollary for girths g{7,8}g\in\{7,8\}:

Corollary 9.2.

Let (r1)(r-1) be a prime power then:

n(2,r2,g)2(r2r+1)n(2,r-2,g)\leq 2(r^{2}-r+1)

for some gg with 7g87\leq g\leq 8.

Moreover, let XX be an (r,6)(r,6)-cage. If XX has a 66-cycle with all the edges on the Hamiltonian cycle except one, we have that:

n(2,r2,7)=2(r2r+1),n(2,r-2,7)=2(r^{2}-r+1),

otherwise:

n(2,r2,8)=2(r2r+1).n(2,r-2,8)=2(r^{2}-r+1).

We point out that it is a folklore conjecture that all cages are Hamiltonian except for the Petersen graph and hence these results should have wide applicability. For instance, besides the uses that we already mentioned above (Heawood, McGee), we can also apply them to the Tutte-Coxeter (3,8)(3,8)-cage on 3030 vertices to obtain a (2,1,9)(2,1,9)-wgraph of order 3030 (but n(2,1,9)=24n(2,1,9)=24). Also, Benson (3,12)(3,12)-cage on 126126 vertices gives us a (2,1,13)(2,1,13)-wgraph of order 126. This last is the best upper bound that we know for n(2,1,13)n(2,1,13) and the Moore-like lower bound is n0(2,1,13)=66n_{0}(2,1,13)=66, our algorithms can only provide the lower bound n(2,1,13)68n(2,1,13)\geq 68.

References

  • [1] M. Abreu, G. Araujo-Pardo, C. Balbuena, D. Labbate and G. López-Chávez. Biregular cages of girth five. Electron. J. Combin. 20 (2013) 1–14. doi:10.37236/2594.
  • [2] G. Araujo-Pardo, C. De la Cruz and D. González-Moreno. Mixed cages: monotonicity, connectivity and upper bounds. Discrete Math. 345 (2022) Paper No. 112792, 11. doi:10.1016/j.disc.2021.112792.
  • [3] G. Araujo-Pardo, C. Hernández-Cruz and J.J. Montellano-Ballesteros. Mixed cages. Graphs Combin. 35 (2019) 989–999. doi:10.1007/s00373-019-02050-1.
  • [4] G. Araujo-Pardo, R. Jajcay, A. Ramos-Rivera and T. Szőnyi. On a relation between bipartite biregular cages, block designs and generalized polygons. J. Combin. Des. 30 (2022) 479–496. doi:10.1002/jcd.21836.
  • [5] C. Cedillo, R. MacKinney-Romero, M.A. Pizaña, I.A. Robles and R. Villarroel-Flores. YAGS - Yet Another Graph System, Version 0.0.5, 2019. http://xamanek.izt.uam.mx/yags/.
  • [6] G. Chartrand and L. Lesniak. Graphs & Digraphs. Chapman & Hall/CRC, 3rd edition, 1996. (First edition: 1979).
  • [7] G. Exoo. On mixed cages. Discrete Math. Theor. Comput. Sci. 25 (2023) Paper No. 14, 17. doi:10.46298/dmtcs.11057.
  • [8] G. Exoo and R. Jajcay. Dynamic cage survey. Electron. J. Combin. DS16 (2013) 55. doi:10.37236/37.
  • [9] G. Exoo and R. Jajcay. Biregular cages of odd girth. J. Graph Theory 81 (2016) 50–56. doi:10.1002/jgt.21860.
  • [10] G. Exoo, R. Jajcay and J. Širáň. Cayley cages. J. Algebraic Combin. 38 (2013) 209–224. doi:10.1007/s10801-012-0400-2.
  • [11] S. Filipovski, A. Ramos-Rivera and R. Jajcay. On biregular bipartite graphs of small excess. Discrete Math. 342 (2019) 2066–2076. doi:10.1016/j.disc.2019.04.004.
  • [12] The GAP Group. GAP – Groups, Algorithms, and Programming, Version 4.10, 2019. (http://www.gap-system.org).
  • [13] A.J. Hoffman and R.R. Singleton. On Moore graphs with diameters 22 and 33. IBM J. Res. Develop. 4 (1960) 497–504. doi:10.1147/rd.45.0497.
  • [14] R. Jajcay and J. Širáň. Small vertex-transitive graphs of given degree and girth. Ars Math. Contemp. 4 (2011) 375–384. doi:10.26493/1855-3974.124.06d.
  • [15] F. Lazebnik, K.E. Mellinger and O. Vega. Embedding cycles in finite planes. The Electron. J. Combin. 20 (2013) 1–17. doi:10.37236/3377.
  • [16] H. Sachs. Regular graphs with given girth and restricted circuits. J. London Math. Soc. 38 (1963) 423–429. doi:10.1112/jlms/s1-38.1.423.
  • [17] J. Tuite and G. Erskine. On networks with order close to the Moore bound. Graphs Combin. 38 (2022) Paper No. 143, 34. doi:10.1007/s00373-022-02535-6.
  • [18] W.T. Tutte. A family of cubical graphs. Proc. Cambridge Philos. Soc. 43 (1947) 459–474. doi:10.1017/s0305004100023720.