On the size and complexity of scrambles
-
Abstract
The scramble number of a graph, a natural generalization of bramble number, is an invariant recently developed to study chip-firing games and graph gonality. We introduce the carton number of a graph, defined to be the minimum size of a maximum order scramble, to study the computational complexity of scramble number. We show that there exist graphs with carton number exponential in the size of the graph, proving that scrambles are not valid NP certificates. We characterize families of graphs whose scramble number and gonality can be constant-factor approximated in polynomial time and show that the disjoint version of scramble number is fixed parameter tractable. Lastly, we find that vertex congestion is an upper bound on screewidth and thus scramble number, leading to a new proof of the best known bound on the treewidth of line graphs and a bound on the scramble number of planar graphs with bounded degree.
1 Introduction
The concept of gonality, initially from the theory of algebraic curves, has analogues in several other fields of math. One such analogue appears in the context of chip-firing games on graphs, where the gonality of a graph is the smallest degree of a positive rank divisor on that graph. In other words, it is the smallest number of chips that can be distributed among the graph’s vertices such that debt can be eliminated, using chip-firing moves, after chips are placed on any vertex. Here a chip-firing move is made by choosing a vertex and moving one chip from the vertex to its neighbors along each edge.
To prove the gonality of a graph is equal to , one has to argue serves as both an upper and a lower bound. To argue the upper bound, it suffices to provide a valid positive rank divisor of this graph with degree . Verifying the divisor in fact has positive rank can be done in polynomial time via repeated applications of Dhar’s burning algorithm [11]. On the other hand, proving lower bounds on gonality is often much harder, as the brute-force approach of showing each of -many divisors of degree have rank less than is not computationally tractable in general.
A powerful lower bound on the gonality of a graph is the much-studied invariant of treewidth, , as proved in [26]. This was improved upon in [18], which introduced the scramble number of a graph, denoted . A scramble on a graph is a set of connected subgraphs (called eggs) of . The order of a scramble is a quantity associated with the hitting number and connectivity between the eggs. The scramble number of a graph is the maximum order of a scramble on . From [18, Theorem 1.1], we have
Echavarria et al. showed in 2021 that is NP-hard to compute [14]. However, it is not known whether lower-bounding (or upper-bounding) scramble number is in NP. While a maximum-order scramble would be a natural NP-certificate candidate for a lower bound, the size of a scramble (as measured by the number of eggs) is potentially exponential in the number of vertices of . Many different scrambles may have order equal to scramble number, so it is natural to ask about the size of the smallest such scramble. To study this certificate, we introduce the carton number of a graph, , defined as the minimum size of a maximum order scramble.
Our first major result establishes a general lower bound on the carton number of graphs degree bounded by their scramble number. Below denotes the maximum degree of a graph, and its set of vertices.
Theorem 1.1.
Let be a graph such that . Then, .
We also present our second major result that confirms our suspicion regarding the invalidity of scrambles as NP-certificates.
Theorem 1.2.
There exists a family of -regular graphs such that
-
1.
and , and
-
2.
.
This result definitively invalidates scrambles as NP-certificates in the general case. We also consider the related invariant of disjoint scramble number, denoted , introduced in [13]. This is defined identically to , except that we restrict to scrambles where the eggs are non-overlapping. Deciding whether is in NP since any disjoint scramble necessarily has polynomial size and its order can be computed in polynomial time; however, it is unknown whether computing is NP-hard. We prove the following result regarding its computational complexity.
Theorem 1.3.
Deciding whether is fixed parameter tractable when parametrized by and .
Although gonality is known to be APX-Hard for general graphs [16], it may admit approximation algorithms for specific graph families. In particular, a deterministic -approximation algorithm for minimization objective function guarantees
where denotes the optimal cost and . Similarly, a deterministic -approximation algorithm for maximization objective function guarantees
where denotes the optimal cost and . We characterize various graph families whose scramble number and gonality can be constant-factor approximated in polynomial time. In doing so, we prove Theorems 1.4 and 1.5.
Theorem 1.4.
Let be a simple graph on vertices. The quantity can be -approximated in polynomial time.
Where denotes the -component independence number as defined in Section 2. This theorem can be seen as a generalization of Gavril’s algorithm that -approximates the minimum vertex cover of a simple graph. To the best of our knowledge, the result was previously unknown.
Theorem 1.5.
Let be a simple graph on vertices. There exists a polynomial time algorithm that approximates both and within a constant factor for each of the following graph families.
-
(1)
, , (-approximation)
-
(2)
, , (-approximation)
-
(3)
, , (-approximation)
-
(4)
For any two adjacent vertices and , and for any two non-adjacent vertices and , (-approximation)
Lastly, we explore the problem of upper bounding scramble number by means of vertex congestion. Our main result on this front is the following.
Theorem 1.6.
For any graph of maximum degree , we have that .
It follows that planar graphs of bounded degree have scramble number at most . Another consequence of this theorem is a novel proof of a result relating the treewidth of a graph to the treewidth of its corresponding line graph , namely that
To the best of our knowledge, this is the strongest known such bound, first proven as [19, Proposition 2.3].
Our paper is organized as follows. In Section 2, we outline preliminary background relevant to our paper as well as some basic properties of carton number following from its definition. In Section 3, we outline some useful properties of carton number that will aid in demonstrating lower bounds, as well as properties regarding its behavior under various graph operations. In Section 4 we
show a series of lower bounds on carton number culminating in Theorems 1.1 and 1.2. In Section 5 we establish its relationship to other graph invariants and use this to pinpoint the carton number of various graph families. In Section 6, we show Theorem 1.3 and prove approximability Theorems 1.4 and 1.5. Finally, in Section 7 we prove Theorem 1.6 and show an upper bound on the scramble number of planar graphs.
Acknowledgements. The authors were supported by Williams College and by the NSF via grants DMS-2241623 and DMS-1947438. They thank Marchelle Beougher, Nila Cibu, Cassie Ding, and Chan Lee for many helpful conversations on scrambles and gonality.
2 Preliminaries
In this section, we cover necessary background on graph terminology and notation. We discuss scramble number and screewidth, and define a new invariant known as carton number, which is the main topic of this paper.
2.1 Graphs
Throughout this paper, a graph is a finite, connected, loopless multigraph with vertex set and undirected edge multiset . This means that in edge multiset , we allow multiple edges between any two distinct vertices of but disallow edges from a vertex to itself. If there is at most one edge between any two vertices, graph is known to be simple. The girth of a graph is the length of its smallest cycle.
The degree of a vertex , denoted , counts the number of edges incident to . For a subset , subgraph induced by has vertex set and edge set . The vertex connectivity of a graph , denoted , is the minimum cardinality of a set for which is disconnected. Similarly, the edge connectivity of a graph , denoted, , is the minimum cardinality of a set for which the graph is disconnected. In general, the k-restricted edge connectivity of a graph , denoted , is the minimum cardinality of a set for which the graph is disconnected and every component of has size (if such a set exists; otherwise is undefined). We let denote the minimum outdegree of any -vertex connected subgraph of . If , we say that is -optimal.
The independence number of a graph , denoted , is the maximum cardinality subset for which no two vertices in share an edge. In general, the k-component independence number of a graph , denoted , is the maximum cardinality of subset for which every component of has size .
We now recall several operations and transformations on graphs. The Cartesian product of graphs and , denoted by , has vertex set with edges between vertices and if and only if and or and ; if and are not both simple, edges in the multiset appear as many times as the corresponding edge in or .
A degree 2 vertex with distinct neighbors and in can be smoothed by deleting , deleting the edges and , and adding edge . A graph obtained via a series of smoothings of is known as a refinement of . An edge subdivision is the opposite of smoothing: given vertices and the edge , this operation deletes , creates a new vertex , and creates the edges and . A graph obtained from a series of edge subdivisions of is a subdivision of .
Distinct vertices with edges and can be lifted by deleting edges and while creating edge . A graph obtained via a series of lifts of is known as an immersion minor of . A function is immersion minor monotone if for every that is an immersion minor of , we have .
An edge contraction is an operation in which two vertices connected by an edge are merged into one vertex; formally,given a graph with and , an edge contraction is a map that is the identity on and maps and to a new vertex ; for all with , it is again the identity, while the edges or are mapped to . A graph obtained via a series of edge deletions, vertex deletions, and edge contractions of is known as a minor of . A function is said to be minor monotone if when is a minor of . A graph family is said to be minor closed if for every , every minor of is also in .
2.2 Treewidth and Scramble Number
The treewidth of a graph , denoted , is a well-studied invariant that serves as a lower bound on gonality [26]. We omit the usual definition of treewidth in terms of tree-decompositions, and instead present an equivalent characterization with an invariant known as bramble number.
A bramble on a graph is a collection of nonempty connected subgraphs of for which any two have non-empty intersection or are joined by an edge. The order of bramble is its hitting number , the smallest cardinality of a vertex subset such that for all . The bramble number of a graph , denoted is then the maximum order of a bramble on . In [24], Seymour and Thomas proved that .
To find a more powerful bound on graph gonality, [18] generalized brambles to scrambles. A scramble on a graph is a nonempty collection of nonempty connected subgraphs of , which we call the eggs of the scramble.
The order of a scramble is defined in terms of its hitting number and another quantity known as its egg-cut number. An egg-cut of is collection of edges in that, when deleted, disconnect into two components, each containing an egg from . The egg-cut number of , denoted , is the minimum size of an egg-cut of ; if no egg-cut exists (that is, if all pairs of eggs of overlap in at least one vertex), we set . The order of a scramble , denoted is then defined as the minimum of and . The size of a scramble, denoted , is the number of eggs in scramble .
Finally, the scramble number of a graph , written , is the largest possible order of a scramble on :
The following result shows that scramble number forms a strictly better lower bound on gonality than treewidth.
Theorem 2.1.
[18, Theorem 1.1] For any graph ,
A disjoint scramble on some graph is a scramble on such that the eggs of are pairwise disjoint, i.e. for any eggs necessarily . Note that the hitting number of a disjoint scramble is simply its size. The disjoint scramble number of a graph , written , is the largest order of a disjoint scramble on . Note that ; sometimes this inequality is strict [13, Proposition 5.2].

Figure 1 illustrates several scrambles, the first two on the same graph . The first scramble on has and , so that . The second scramble on has and , so that . This turns out to be the maximum order of a scramble on : to have a larger hitting number, each vertex must be its own egg, but then there would exist an egg-cut of size . Thus we have , and since this can be achieved by the disjoint scramble we have . The third scramble on the final graph has order , since the middle edge forms an egg-cut; this illustrates that there may be smaller egg-cuts than the minimum number of edges leaving any egg.
Given a scramble on some graph , a subset scramble of is simply another scramble on such that , i.e. each egg in is also an egg in . Given a graph and a positive integer , the -uniform scramble, denoted , on is the scramble whose eggs are all the connected subgraphs of on vertices [6]. In particular, the -uniform scramble is the scramble where the eggs are precisely the vertices of ; these are sometimes called verteggs. The 2-uniform scramble is the scramble where the eggs are all pairs of vertices that are connected by an edge; it is sometimes known as the edge scramble.
2.3 Carton Number
The scramble number of many families of graphs has been studied before [6, 14, 25]. While scramble number is NP-Hard to compute [14, Theorem 1.1], its inclusion in NP is unknown. Scrambles seem to be a natural NP-certificate candidate for lower-bounding scramble number, but the size of maximal order scrambles may be exponentially large in the size of the graph. Bounding the size of maximal order scrambles makes brute force computation of scramble number, where every possible combination of scrambles is considered, more efficient. In particular, a polynomial upper bound on the size of maximum order scrambles implies that scramble number is in NP. With this in mind, we define the carton number of a graph , denoted , as the smallest number of eggs with which a scramble with order can be constructed. In other words, it is the minimal size of a maximal order scramble; or formulaically,
A carton scramble on a graph is a scramble with order and many eggs.

For instance, Figure 2 presents two scrambles, both of order , on a graph of scramble number . The first scramble has size , while the second has size . No scramble of maximal order on the graph has size smaller than , since . Thus , and the second scramble is a carton scramble while the first is not.
2.4 Screewidth
While lower-bounding scramble number is possible with a specific scramble, upper-bounding is more subtle, especially if there is a gap between scramble number and gonality. One useful invariant for providing upper bounds is screewidth, recently developed in [7]. There are no known cases where screewidth is larger than gonality, meaning it is in practice a more useful lower bound.
For a graph , a tree-cut decomposition of is a pair of a tree111A tree is a connected acyclic graph. a set of subsets of , one for each vertex , such that
-
•
, and
-
•
for .
Thus forms a near-partition of , which is the same as a partition with empty sets allowed. For clarity, we refer to the vertices and edges of as nodes and links, respectively, reserving ther terms vertices and edges for . We refer to the set as the bag associated to the node .
The adhesion of a link , denoted as , is the set of edges where and are in different components of . Similarly, the adhesion of a non-leaf222The adhesion of a leaf node, with degree equal to , is taken to be the empty set. node is the set of edges where and are in different components of . The width of tree-cut decomposition is then defined to be where
Finally, the screewidth of is . By [7], we have for any graph .
Geometrically, we illustrate a tree-cut decomposition by drawing a thickened copy of , drawing the vertices of inside of their corresponding nodes, and drawing the edges passing through the unique path in connecting the vertices and in their respective bags. The adhesion of a link is then the set of edges passing through it; and the adhesion of a non-leaf node is the set of edges “tunneling” through the node, without either endpoint in that node. Thus is the maximum number of edges passing through a link; and is the maximum over all nodes of the number of vertices plus the number of tunneling edges.
Two examples of tree-cut decompositions and of the same graph are illustrated in Figure 3. The first has and , so . The second has and , so . It follows that . As previously established, this graph has scramble number , implying that since .

2.5 Useful results
Below, we show or recall results that will be useful throughout the paper. Some follow quickly from definitions and others come from related work.
Proposition 2.2.
For any graph , we have .
Proof.
The first inequality holds since any disjoint scramble is a scramble; is the largest element in the set of possible scramble numbers, while is the largest element of a subset of that set. For the second inequality, fix any maximal order scramble . Then and is no greater than the number of eggs in . ∎
Since , we have that disjoint scramble number also serves as a lower bound on graph gonality, although it will never perform better than scramble number. We will see in Section 5 that disjoint scramble number may be larger than, smaller than, or equal to treewidth, meaning it also does not consistently perform better than treewidth as a lower bound on gonality. However, disjoint scramble number has the advantage that the problem of deciding whether is in NP, with a disjoint scramble of order serving as a polynomial size certificate verifiable in polynomial time (for a disjoint scramble we have , and can be computed in polynomial time as there are polynomially many eggs [6]). Lower bounding treewidth or scramble number is not known to be in NP; indeed, since upper bounding treewidth is NP-complete, lower bounding could only be in NP if NPco-NP, which is generally expected not to be the case.
Proposition 2.3.
Given any graph with scramble , for any subset scramble we have .
Proof.
Since , any egg-cut for is also an egg-cut for . Since there exists a set of edges that forms an egg-cut for , the same is true for , implying that . ∎
This inequality can be strict in some cases, as might contain pairs of eggs that does not contain which can be separated by removing fewer than edges. An extreme example is where contains only one egg, so , even for with finite.
Proposition 2.4.
[18, Lemma 3.6] Let be a bramble of bramble order . Then, is a scramble with scramble order either or .
Proposition 2.5.
[18, Proposition 4.6] Scramble number is invariant under subdivision and smoothing.
Proposition 2.6.
Suppose that is a subdivision of obtained by adding a single vertex in between two adjacent vertices and .
-
(i)
Let be a scramble on , and construct from by adding to any egg of that contains . Then is a scramble on with .
-
(ii)
Let be a scramble on of order at least , and construct from by deleting from any egg that contains it. Then is a scramble on with .
Proof.
Both claims are established as part of the proof of [18, Proposition 4.6]. ∎
Proposition 2.7.
For all graphs with , we have that . Moreover, if , then .
Proof.
3 Properties of Carton Number
We now investigate some nice (and not so nice) properties of carton number. Before we do so, we prove a useful statement regarding the relation between the order of a scramble and the hitting number of a corresponding equal-order subset scramble.
Proposition 3.1.
Given any graph with scramble , there exists a subset scramble such that and .
In other words, any scramble has a subset scramble of equal order, and that order is given by the subset scramble’s hitting number.
Proof.
If , then we are immediately done. Otherwise, it must be the case that by definition of the order of a scramble. We claim that there exists some proper subset of such that .
To see this is the case, denote , and starting from iteratively obtain from by arbitrarily removing one egg, doing so for all where . Then as any hitting set for is also a hitting set for . However, we also have that since any hitting set of , together with an arbitrary vertex of the egg deleted from , is a hitting set for . Thus, for each integer , we have that
As and , the above inequality and the fact that all values are integers implies that there exists such that . Furthermore, by Proposition 2.3, necessarily . As , it follows that
Thus, letting , we have that is a subset scramble of of equal order such that as desired. ∎
From this, we immediately obtain the following result about the existence of maximum order scrambles with hitting number equal to scramble number.
Corollary 3.2.
Given any graph with maximum order scramble , there exists a maximum order scramble which is a subset of such that .
Proof.
Given a maximum order scramble of , apply Proposition 3.1 to find such that and . As is a maximum order scramble and has the same order, we have . ∎
Finally, we relate this result to carton number.
Corollary 3.3.
For any carton scramble on a graph , we have .
Proof.
By Corollary 3.2 and the fact that must be a maximum order scramble of , necessarily must contain a maximum order scramble such that . However, if was a proper subset of , then this would contradict the fact that is a carton scramble, as would be a maximum order scramble of size less than . Thus, it follows that , and the result follows as desired. ∎
Given the proof strategy of paring down scrambles, it is natural to ask whether all maximum order scrambles can be pared down to a carton scramble; or perhaps to a scramble of polynomial size. The following result shows that this is not the case.
Proposition 3.4.
Let be a graph on vertices, and a maximum order scramble on . Then can be pared down to a maximum scramble such that . Moreover, this bound is sharp for : for every such , there exists a graph on vertices and a maximum order scramble with such that deleting any egg from decreases the order of the scramble, and such that is not a carton scramble.
Proof.
Given a maximal order scramble on , define by iteratively deleting eggs from that contain any other eggs of . As with any subset scramble, we have and . Moreover, since any egg of contains an egg of as a subgraph, any hitting set for is a hitting set for ; thus . And, any egg-cut for , say separating eggs and , is also an egg-cut for , as it separates eggs that are subgraphs of and of . Thus . It follows that .
To bound the size of , we note that the vertex sets of its eggs form a collection of distinct, nonempty subsets of , none of which contain each other. The largest number of subsets of an -element set that are pairwise incomparable is , achieved for instance by choosing all size – this is known as Sperner’s Theorem. Thus this forms a bound on .
To show this bound is sharp, assume first that is even, and write . Construct first by considering , the complete bipartite graph on and vertices; and then add edges to the set of vertices so that they form a cycle. Figure 4 illustrates this graph for . Since is simple and the minimum degree is at least , we may apply [14, Corollary 3.2] to deduce that .

We claim that . Indeed, as long as at least one vertex from each of the two sides remains, the graph is connected. So either the vertices on the larger side must be deleted; or the vertices on the smaller side must be deleted, followed by enough vertices on the larger side to disconnect the cycle, adding two. Thus the -uniform scramble on , whose eggs consist of all connected subgraphs on vertices, has eggs. Moreover, , since any set of vertices fails to hit at least one egg (namely the egg whose vertices are ); and . Thus is a maximal order scramble. However, deleting a single egg would decrease its order, since the set of vertices not in that egg would form a hitting set of size . Thus we have a maximal order scramble of size that cannot be pared down further. It is not, however, a carton scramble: by [14, Lemma 3.1], the -uniform scramble also has order , and with eggs it is smaller than since .
For odd, say , construct as and add edges to the vertices to form a cycle. The same argument as above shows ; that ; that ; that ; that removing any eggs from decreases its order; and that has strictly fewer eggs while still achieving scramble number. ∎
We now characterize precisely when carton number and scramble number are equal, namely if and only if there exists a disjoint scramble that is also a maximum order scramble.
Theorem 3.5.
For any graph , if and only if .
Proof.
Let be any graph. We will prove the implication in each direction.
First suppose . This means there exists a disjoint scramble with . By Proposition 3.2, there exists some maximum order scramble such that and . As a subset of a disjoint scramble, is itself a disjoint scramble, implying , and so . As is a maximum order scramble we have , and as for any graph we conclude that .
Now suppose . Then there exists a scramble with . If is not disjoint, then some pair of eggs share a vertex. But then there is a hitting set that includes that vertex and one vertex from each other egg. This hitting set has size , which is a contradiction to . Therefore is disjoint, so . ∎
We can also combine our result with Proposition 2.7 to characterize carton number for graphs of scramble number at most .
Corollary 3.6.
For all graphs with , we have that .
Proof.
Another family of graphs we consider are those with an edge connectivity of 1, i.e. graphs which contain a bridge333In a connected graph, a bridge is an edge that, if deleted, disconnects the graph.. Given such a graph, it turns out to be trivial to compute its carton number given the carton and scramble numbers of its two constituent subgraphs connected by a bridge.
Proposition 3.7.
Let be a graph with bridge such that removing from disconnects into two connected components and . Without loss of generality, we take ; and if , we take . Then, .
Proof.
First we note that if is a tree, our claim holds as all scramble and carton numbers are equal to . We now assume is not a tree, so .
By [14, Lemma 2.4], we know . Any scramble on , when considered as a scramble on , has at least as high of an order: hitting number remains unchanged, and egg-cut number could only go up. Choose a carton scramble on , and let be the same scramble on . Then,
It follows that all terms are equal and so is a maximal order scramble on . Since , we have .
For the other direction, consider a carton scramble on . Since , it cannot be that both and contain a complete egg; choose and so that and does not contain a complete egg. As argued in the proof of [14, Lemma 2.4], intersecting the eggs of with yields a scramble on with . Since
we know that all terms are equal. In particular, .
If , then we have and is a maximum order scramble on . Since , we have . If , then although we cannot immediately deduce the value of , we do know that . Since , we still conclude .
∎
We now consider properties under which carton number is invariant, namely subdivision and smoothing.
Proposition 3.8.
If is a subdivision of , then
Proof.
By induction, it will suffice to consider the case where is obtained via the subdivision of a single edge between adjacent vertices and , which introduces a new vertex between them.
Before considering arbitrary graphs, we note that this claim holds for any graph with . This is because for such graphs, we have
by Corollary 3.6.
For the remainder of the proof we can assume . We first show that . Choose to be a carton scramble on , and let be the corresponding scramble on from Proposition 2.6(i), which has order at least . Combined with Proposition 2.5, this gives us
so all terms are equal and is a maximum order scramble on . The construction of left the number of eggs unchanged, so , as desired.
Now we show . Choose a carton scramble on . Since , Proposition 2.6(ii) to construct on . This gives us
so is a maximum order scramble on . The construction of could only decrease the number of eggs, so , as desired.
Having proven both inequalities, we conclude that as desired. ∎
Proposition 3.9.
If is a smoothing of , then
Proof.
Suppose is a smoothing of . Then is a subdivision of , and hence by Proposition 3.8. ∎
We close this section by describing some operations under which carton number does not behave nicely; generally speaking, it can increase when passing to a “simpler” graph. First, it is not in general monotone (that is, non-increasing) under taking subgraphs. For instance, in the next section we will see that a rook’s graph has carton number strictly greater than . It is a subgraph of the complete graph , which has scramble number that can be obtained with the verteggs scramble (and thus has carton number at most 16).
Next, carton number is not monotone under the edge contractions associated to taking minors, in which two vertices are merged; nor is it monotone under the tunneling moves associated to taking immersion minors, in which edges and are deleted and an edge is added. To see this, we refer to examples from previous literature: [18, Example 4.4] and [14, Example 2.8], reproduced in Figure 5. In the former, performing an edge contraction at turns a graph into a graph with and ; we have , and by Corollary 3.6, so carton number has increased. In the latter, performing a pair of tunneling moves (first replacing and with , then replacing and with ) turns a graph into a graph with and ; we have and by Corollary 3.6, so carton number has increased.

4 Bounds on Carton Number
Thus far, we have yet to prove that any graph has particularly large carton number compared with , the number of vertices. In this section we first prove a lower bound on carton number that allows us to find explicit graphs with carton number strictly larger than . Then, we exhibit an exponential lower bound on carton number for graphs of bounded degree and large scramble number.
Proof of Theorem 1.1.
Let be a graph such that . Take a maximum order scramble of , so that . As , we know that does not contain any egg consisting of a single vertex ; if it did, then either the at most edges incident to would form an egg-cut giving , or all eggs would contain and and thus . Thus all eggs of have two or more vertices.
Next, fix a minimum hitting set of and denote it as . Note that , and if we denote then necessarily . For each vertex , there must exist an egg such that : if no such egg existed, then would be a valid hitting set, but is a minimum hitting set. For each , we can thus choose some such corresponding egg , and denote the set of such eggs as . However, as each egg of is of order at least but has only one of its vertices in , each egg of must contain a vertex in . In particular, is a valid hitting set of . However, we have
Thus, at least eggs of (namely those in can be hit by no more than vertices (namely those in ). As any minimal hitting set of is of size at least , and each additional egg not in can only cause the hitting number to increase by at most 1, it follows there must be at least eggs in in addition to those of already hittable by . Thus we have
completing the proof. ∎
Note that this bound may not be very good for many graphs: we have assumed that each egg aside from the eggs in increases hitting number by one, which in practice may not be achievable! The most certain way to increase hitting number is to add eggs that are disjoint from all other eggs in the scramble, but depending on the specific graph and choice of , there may be few, perhaps even zero, such eggs. Adding eggs that overlap with existing eggs may change the hitting set dramatically, making it difficult to find a stronger bound on how many eggs one must add to increase the hitting set to the desired size.
Example 4.1.
Consider the rook’s graph , which encodes the moves that a rook can make on a chess board. This graph has vertices which we arrange in a grid, with every vertex connected to all other vertices in the same row or column. Thus and . It was shown in [25] that . Applying Theorem 1.1, we have that
This is our first explicit example of a graph whose carton number is strictly larger than its number of vertices.
We now give a necessary condition for scrambles to require exponentially many eggs in the number of vertices. Our arguments closely follow those of Grohe and Marx in [17].
Theorem 4.2.
Let with and , and let be a scramble on such that for some and . Then, .
Proof.
Suppose has a set of size at most . Then either
-
1.
There exists a set such that . In this case, the egg-cut between and is at most . Thus, , contradicting the assumption that
-
2.
No such exists. Then, is a hitting set of . By assumption, . Thus, , contradicting the assumption that
Therefore, we may assume that every has cardinality at least . We now bound the probability that a randomly selected set of vertices does not form a hitting set for . Let and be vertices chosen independently and uniformly at random. We define indicator random variables for all and . Then,
Furthermore,
Lastly,
Because , it follows that no set of vertices can ever hit . Therefore,
and
∎
Before we apply this result to prove Theorem 1.2, we present a quick corollary of this result.
Corollary 4.3.
Graphs from graph families with bounded maximum degree and only polynomially many connected subgraphs have .
Proof.
Any scramble on such a graph has polynomially many eggs, since each egg is a connected subgraph. By the contrapositive of the previous theorem, its order must be ∎
It is natural to then ask then which graph families satisfy the property of having only polynomially many connected subgraphs. For minor closed families, this is discussed in [15], where an argument is presented that these are precisely the minor-closed graph families that exclude at least one star graph . These families will eventually be subsumed in our Corollary 7.5, so we do not go into further detail here.
We now show that a family of -regular graphs considered by Grohe and Marx in [17] has carton number exponential in . We first recall the relevant definitions and theorems here. The vertex expansion of with parameter is defined to be
where is the neighborhood of , i.e. the set of vertices in adjacent to at least one vertex in .
Proposition 4.4.
[17, Proposition 1] Let and . Then for every -vertex graph we have
Proposition 4.5.
[20] Let . Then, for every there exists an and a family of -regular graphs for which
These results directly lead to Theorem 1.2.
Proof of Theorem 1.2.
This result shows that carton number can increase dramatically when taking a subgraph. Consider a complete graph that is formed by adding missing edges to such an expander graph on vertices. has carton number whereas has carton number . Because such a exists for all , the gap in carton numbers of and subgraph can grow arbitrarily large.
Lastly, we use analogous theorems on brambles to show that there exist efficient algorithms to compute large scrambles on graphs.
Proposition 4.6.
Let and let be a graph with of treewidth greater than . Then has a scramble of order and size .
Proof.
Proposition 4.7.
There exists a randomized polynomial time algorithm that, given a graph of treewidth , constructs with high probability a scramble in of order and size
5 Properties of disjoint scramble number
In this section we focus on properties of disjoint scramble number and its relationship to other graph invariants, with the eventual goal of using it to compute carton numbers via Theorem 3.5.
Proposition 5.1.
Disjoint scramble number is subgraph monotone, and invariant under subdivision and smoothing.
Proof.
If is a subgraph of , then any disjoint scramble on is also a disjoint scramble on . As argued in the proof of [18, Proposition 4.5], the order of on is at least as large as the order of on . Choosing disjoint of maximal order on gives .
We will argue that disjoint scramble number is invariant under subdivision; it then follows that it is invariant under smoothing. By Proposition 2.7, if is a subdivision of and or we have by a combination of [13, Proposition 5.2] and Corollary 3.6; thus for the remainder we may take and . It suffices by induction to consider the case that a subdivision of is obtained by subdividing a single edge between adjacent vertices and , introducing a new vertex between them.
We first show . Let be a disjoint scramble of order on . Construct the scramble on from Proposition 2.6(i). The construction of ensures it is still disjoint, and .
We now show . Let be a disjoint scramble of order on . Construct the scramble on from Proposition 2.6(i). The construction of ensures it is still disjoint, and .
We conclude that , as desired. ∎
Proposition 5.2.
Let be a -vertex connected graph. Then, .
Proof.
Consider the vertegg scramble , consisting of all one-vertex eggs. Note that . Since is -connected, it follows that and that (since ). Therefore, . ∎
Proposition 5.3.
Let be in a graph class for which the maximum degree grows as . Then, .
Proof.
Consider any -partition of the vertices of into connected subgraphs. We claim that the maximum order of such a disjoint scramble is at most . To see this, note that the hitting number of such a scramble must be . Thus, maximizing scramble order reduces to maximizing its egg-cut. Because has degree bounded by , the minimum egg-cut is bounded above by . Observe that . It then follows that
Because decreases monotonically with , the maximum is achieved when . Thus, and
∎
Corollary 5.4.
If is a graph with bounded degree , .
We now explore the relationship between disjoint scramble number and treewidth. From the introduction, we know that . Proposition 2.2 shows that . We remark that for multigraphs , it is easy to find large gaps between and ; for instance, taking to be a tree on vertices where each edge is repeated times gives a graph with and . Thus we restrict our study to simple graphs and show that the relationship between and can still vary. A class of graphs known as -trees helps to establish the relationship in one direction.
We define -trees to be maximal simple graphs with treewidth . By [23], they can be characterized as follows:
-
•
The complete graph on vertices is a -tree.
-
•
A -tree can be obtained from a -tree by connecting a new vertex to exactly vertices in that form a -clique.
-
•
No other graph is a -tree.
Immediately, the definition implies that for every , there exists a -tree for which , namely the complete graph . We can also use -trees to construct simple graphs for which .
Proposition 5.5.
For every , there exists a -tree for which .
Proof.
Let be the simple graph with vertex set where is adjacent to if and only if . This graph is illustrated for in Figure 6. Note that can be obtained from by iteratively adding vertices connected to -cliques, so is a -tree and .

Let be a scramble consisting of verteggs, one for each of , . Since there are disjoint eggs, we have .
To lower bound , we will find a collection of edge disjoint paths connecting an arbitrary pair of eggs, say and with . Letting , start our path as . From there, increase the index of the vertex by at a time, until we fall into (note that this may take zero steps of size ). Then, move to . This gives a total of paths from to , and they are pairwise disjoint. For another collection of paths, let , and start the path . From there, increase the index of the vertex by at a time, until we fall into (again, this may take zero steps). This gives us another paths, which are pairwise edge-disjoint not only from one another, but also from the first paths. Thus we have found a set of pairwise edge-disjoint paths connecting an arbitrary pair of eggs. Any egg cut must include at least one edge from each of these paths, so .
We have , so . We conclude that , as desired. ∎
On the flip side, can also be arbitrarily small as compared to for simple graphs. The expander graphs from Theorem 1.2 can be used to show that treewidth (and therefore also scramble number) can grow quadratically in disjoint scramble number.
Corollary 5.6.
There exists of family of graphs for which .
Proof.
We now turn to chip-firing invariants. Since disjoint scramble number is a lower bound on gonality, it is natural to ask when they are equal. Cartesian products of graphs yield many such examples. We first establish a lower bound on the disjoint scramble number of Cartesian products of graphs.
Proposition 5.7.
Let and be connected graphs. Then, .
Proof.
Consider the scramble whose eggs are canonical copies of . The hitting number of this scramble is the number of eggs, which is . To bound the egg-cut number of , consider eggs with such that and . By construction, and for some . Note that for any , there exist at least edge-disjoint paths between and . Because each edge-disjoint path must have at least one edge crossing the cut , we conclude that the egg-cut is at least . Therefore, . ∎
Proposition 5.8.
Let and be connected graphs.
-
(i)
If is a tree and is a graph with , then .
-
(ii)
If and are graphs with and , then .
Proof.
From this, we get strengthened versions of [14, Corollaries 5.2-5.6]. The table below summarizes notable graphs for which the above Theorem applies, giving . For all graphs, we assume .
Assumptions | |||
---|---|---|---|
In fact, [7, Corollary 5.8] shows equality with in many of these cases, sometimes with added conditions. With the existing assumptions, cases 3 and 5 also have equality with . In cases 1 and 4, adding the assumption that also gives equality with . In case 2, we note that the screewidth of the 3-dimensional grid graph where is also .
We now show more cases where all five invariants converge by strengthening [7, Corollary 5.4] in two stages.
Proposition 5.9.
If is a -edge connected graph of gonality , then .
Proof.
We can use this result to compute the carton number of common families of graphs.
Proposition 5.10.
For the following graphs families, we have .
-
(1)
-
(2)
-
(3)
-
(4)
Proof.
The cycle graph is -edge connected and has gonality . The -partite graph is an -edge connected graph with gonality , where . Proposition 5.9 immediately proves claims (1) and (2).
Proposition 5.11.
If is a tree, is -edge connected with , and , then .
6 Complexity of scramble number and variants
We now study the computational complexity of scramble number and disjoint scramble number. First, we apply Courcelle’s Theorem to show that the decision problem is fixed parameter tractable when parametrized by treewidth and . We then show that the scramble number and gonality of specific graph families can be efficiently approximated to a constant factor.
6.1 Fixed parameter tractability of disjoint scramble number
Courcelle’s theorem is a logic-based meta-theorem that gives a sufficient condition for graph-theoretic properties to be decided in fixed-parameter linear time. In particular, a problem can be decided in fixed parameter linear time if it can be solved in time for some computable function and is the variable we parameterize. Courcelle’s theorem relies on a subset of second-order logic on graphs known as monadic second-order logic, which we recall here; see [12] for more details.
Monadic second-order logic (MS2) allows logical elements , , , , , and variables representing vertices, edges, sets of vertices, and sets of edges. The following binary relations are also allowed
-
(1)
for vertex variable and vertex set
-
(2)
for edge variable and edge set
-
(3)
for edge variable , vertex variable , indicating that edge is incident to vertex
-
(4)
for vertex variables and , indicating that vertices and are adjacent
-
(5)
Equality between vertices, edges, sets of vertices, or sets of edges
Theorem 6.1 (Courcelle’s Theorem, Theorem 4.1.1 in [4]).
Let be a statement about hypergraphs written in monadic second order logic. Then there is an algorithm which, for any hypergraph on vertices of treewidth , decides whether holds in in time , for some computable function .
Lemma 6.2.
[4, Corollary 6.1.2] , for vertices expresses whether and are connected in . It can be expressed as a constant-size formula in .
Lemma 6.3.
The following graph properties can be expressed in :
-
(1)
, for subsets which expresses whether there is a path between some vertex of and some vertex of
-
(2)
, for subsets which expresses whether the two edge sets are disjoint
-
(3)
, for subset which expresses whether the vertex set is connected
-
(4)
, for subset which expresses whether vertex sets are disjoint and completely cover .
Proof.
We express them as follows
-
(1)
-
(2)
-
(3)
-
(4)
We also note that formulae for Path, Disjoint, and Connected have constant size. The formula for Partition has size . ∎
By a simple invocation of Courcelle’s theorem, we can then show Theorem 1.3.
Proof of Theorem 1.3.
Our study of the computational complexity of these problems naturally leads us to ask about stronger results regarding scramble number and to further answer questions regarding the complexity of both scramble number and disjiont scramble number.
Question 6.4.
Is scramble number fixed parameter tractable?
We remark that a similar application of Courcelle’s Theorem is not admissible due to Theorem 4.2, since quantification over exponentially many sets may be necessary. From [13], we know that there exists a polynomial time algorithm to check whether for all . However, the question remains open in full generality.
Question 6.5.
Is disjoint scramble number NP-Hard to compute?
From [14] we know that scramble number is NP-Hard to compute, but the same is unclear for disjoint scramble number. We conjecture that deciding is NP-Hard, thereby making the problem NP-Complete.
6.2 Approximability of scramble number and gonality
Gijwisjt et al. show in [16] that computing graph gonality is APX-Hard. While this is reason to believe that gonality cannot be efficiently approximated to a constant factor in general, there may exist efficient approximation algorithms for specific classes of graphs. The approximability of scramble number is unknown in the general case. We outline a few specific classes of graphs that admit a constant factor approximation for scramble number and gonality.
Proposition 6.6.
(Gavril’s Algorithm [22, pg. 432]) Let be a simple graph on vertices. Then, (also equal to the size of the minimum vertex cover of ) can be 2-approximated in polynomial time.
Gavril’s algorithm is a classic folklore result in approximation algorithms that exploits the trivial relationship between maximal matchings and minimum vertex covers. In fact, we show that the stronger result of Theorem 1.4 is true when generalized to the -component independence number .
Proof of Theorem 1.4.
A -approximation algorithm for the -hitting set problem is constructed in [3]. In particular, the paper presents an algorithm that takes a collection of sets , where each set has size , and outputs a -approximation of the minimum hitting number. This means that . We consider the -uniform scramble, , introduced in [6]. By [6, Lemma 3.2], . Because all sets in have size , its hitting number can be -approximated. ∎
Theorem 1.4 subsumes Proposition 6.6. Previous results, namely [6, Theorem 3.2, Corollaries 3.1 and 3.2, Theorem 3.3], give sufficient conditions for for various values of . This immediately allows us to widen the class of graphs which admit a polynomial time, constant factor approximation algorithm for scramble number and gonality to those from Theorem 1.5.
Proof of Theorem 1.5.
Given Theorem 1.4, it is natural to ask whether the order of -uniform scrambles approximate scramble number and/or gonality to a constant factor. The answer is more nuanced than it seems, but we now show a sufficient condition under which this is the case.
Proposition 6.7.
Let be a graph with for some and with . Then, .
Proof.
We will first show that . Note that because choosing one representative from each component of a -component independent set forms a -component independent set. Secondly, because any -component independent set is also a -component independent set. It is then easy to see that
We have assumed that , therefore by simply rearranging. We can then conclude that
which shows the claim. ∎
More simply, Proposition 6.7 tells us that for graphs with small independence number, the hitting set of the -uniform scramble is a -approximation of , which is an upper bound on the gonality (and therefore scramble number) of by [10, Theorem 3.1]. If is indeed the order of the -uniform scramble, then combined with Theorem 1.4 we can construct a approximation to both and . The following result formalizes this construction.
Proposition 6.8.
If is a graph with for some and with and , then both and can be approximated in polynomial time.
Proof.
By Theorem 1.4, there exists a polynomial time approximation algorithm that outputs . Since , it follows that for the -uniform scramble on , [6, Theorem 3.1]. We construct algorithm by setting . Note then that . Because , Proposition 6.7 implies that . Thus, algorithm guarantees . Therefore, and approximates both and to a factor of . ∎
Corollary 6.9.
Let be a graph with for some and , then both and can be approximated in polynomial time.
Proof.
The claim follows by setting in Proposition 6.8 ∎
It is important to note that the added condition of is somewhat restrictive. It does, however, expand the graphs whose scramble number and gonality can be approximated to a constant factor further than those in Theorem 1.5.
7 Vertex Congestion and Screewidth
In light of Corollary 4.3, it is natural to ask whether there are familiar families of graphs with low scramble number. For instance, it is well-known that planar graphs have treewidth at most ; what can we say for scramble number? It turns out that we can study this question using the idea of vertex congestion of a graph. We remark that congestion has appeared with multiple characterizations in the literature; we use the definition from [5] as studied in [19].
We define an embedding to be an injection from the vertices of to the leaves a sub-cubic tree . If , let denote the path in from to in . The vertex congestion of is the maximum over all vertices of the number of paths passing through ; that is, the congestion equals
Finally, the vertex congestion of , denoted , is the minimum vertex congestion over all embeddings of .
In [19], vertex congestion is characterized in terms of the treewidth of the line graph of , denoted ; this is the graph with vertex set where two vertices are adjacent precisely when their corresponding edges are incident in .
Theorem 7.1.
[19, Theorem 2.4] For any graph , .
To connect this to the tree-width of , we recall the following result, presented in [19] but also following from results in [2], [5], and [9].
Theorem 7.2.
For a graph with maximum degree , we have
We now connect vertex congestion to screewidth.
Theorem 7.3.
For any graph with , we have that .
Proof.
Let be an embedding of into a subcubic tree with the minimum possible vertex congestion. Note that yields a tree-cut decomposition , since is a tree and is a map from to .
We now consider the width of . This equals the largest value among the following sets of numbers:
-
•
The contribution of a leaf node. This is maximized at , since is an injection.
-
•
The contribution of a non-leaf node (at least one exists since , implying has at least leaves). Non-leaf nodes have no vertices assigned to them by our choice of , so the contribution of a non-leaf node equals the number of tunneling edges. These are precisely the edges such that . Thus the maximum contribution of a non-leaf node equals the vertex congestion of .
-
•
The contribution of a link. Any link is adjacent to at least one non-leaf node , and the edges passing through are a subset of the tunneling edges of since has no vertices assigned to it. Thus for any link, there exists a non-leaf node with at least as large of a contribution.
Taking the maximum of all these numbers, we find that is equal to the vertex congestion of , and thus to . We conclude that
∎
Combining these inequalities with the fact that [7], we immediately obtain Theorem 1.6: for any graph of maximum degree , we have .
To apply this theorem to find graphs families with small scramble number, we recall the following result.
Lemma 7.4.
[1] A graph on vertices without a minor has treewidth at most .
Corollary 7.5.
Let be in a family of graphs with no minor and with bounded maximum degree. Then .
Proof.
Since minor closed families of graphs with bounded maximum degree satisfy our assumptions, this subsumes Theorem 4.3. This corollary also implies, for instance, that planar graphs of bounded degree have since planar graphs have no minor. The same argument holds if we replace “planar graphs” with “graph of genus at most ” for any fixed , since such graphs have at least one forbidden minor.
Our work in this section also gives a quick proof of the following result, which also appears in [19, Proposition 2.3].
Corollary 7.6.
For any graph , we have .
Proof.
We close with the following open question.
Question 7.7.
Do simple planar graphs on vertices satisfy ?
The answer is “no” if we drop the simple assumption, since for each there exists a planar multigraph on vertices with scramble number equal to . Consider, for instance, a multigraph constructed by duplicating edges in a path on vertices until each edge is repeated times; the vertegg scramble has order , and any scramble on a graph has order at most . Although we could subdivide the edges of such a graph to make it simple without changing its scramble number, the number of vertices would grow quadratically, so this does not lead to an example of faster-than-square-root growth of scramble number for simple planar graphs.
References
- [1] Noga Alon, Paul Seymour, and Robin Thomas. A separator theorem for nonplanar graphs. J. Amer. Math. Soc., 3(4):801–808, 1990.
- [2] Albert Atserias. On digraph coloring problems and treewidth duality. European J. Combin., 29(4):796–820, 2008.
- [3] R Bar-Yehuda and S Even. A linear-time approximation algorithm for the weighted vertex cover problem. Journal of Algorithms, 2(2):198–203, 1981.
- [4] Samuel Barr. Courcelle’s Theorem: Overview and Applications. PhD thesis, Oberlin College, 2020.
- [5] Dan Bienstock. On embedding graphs in trees. J. Combin. Theory Ser. B, 49(1):103–136, 1990.
- [6] Lisa Cenek, Lizzie Ferguson, Eyobel Gebre, Cassandra Marcussen, Jason Meintjes, Ralph Morrison, Liz Ostermeyer, and Shefali Ramakrishna. Uniform scrambles on graphs. Australas. J. Combin., 87:129–147, 2023.
- [7] Lisa Cenek, Lizzie Ferguson, Eyobel Gebre, Cassandra Marcussen, Jason Meintjes, Ralph Morrison, Liz Ostermeyer, Shefali Ramakrishna, and Ben Weber. Scramble number and tree-cut decompositions, 2022.
- [8] Scott Corry and David Perkinson. Divisors and Sandpiles: An Introduction to Chip-firing. American Mathematical Society, 2018.
- [9] Gruia Călinescu, Cristina G. Fernandes, and Bruce Reed. Multicuts in unweighted graphs and digraphs with bounded degree and bounded tree-width. J. Algorithms, 48(2):333–359, 2003.
- [10] Andrew Deveau, David Jensen, Jenna Kainic, and Dan Mitropolsky. Gonality of random graphs. Involve, 9(4):715–720, 2016.
- [11] Deepak Dhar. Self-organized critical state of sandpile automaton models. Phys. Rev. Lett., 64(14):1613–1616, 1990.
- [12] Rodney G. Downey and Michael R. Fellows. Fundamentals of parameterized complexity. Springer, 2016.
- [13] Robin Eagleton and Ralph Morrison. Graphs of scramble number two, Dec 2022.
- [14] Marino Echavarria, Max Everett, Robin Huang, Liza Jacoby, Ralph Morrison, and Ben Weber. On the scramble number of graphs. Discrete Appl. Math., 310:43–59, 2022.
- [15] David Eppstein. Which graphs have polynomially many connected subgraphs?, Jan 2013.
- [16] Dion Gijswijt, Harry Smit, and Marieke van der Wegen. Computing graph gonality is hard. Discrete Appl. Math., 287:134–149, 2020.
- [17] Martin Grohe and Dániel Marx. On tree width, bramble size, and expansion. Journal of Combinatorial Theory, Series B, 99(1):218–228, Jan 2009.
- [18] Michael Harp, Elijah Jackson, David Jensen, and Noah Speeter. A new lower bound on graph gonality. Discrete Appl. Math., 309:172–179, 2022.
- [19] Daniel J. Harvey and David R. Wood. The treewidth of line graphs. Journal of Combinatorial Theory, Series B, 132:157–179, 2018.
- [20] S. Hoory and Michal Linial. Expander graphs and their applications. Bulletin of the American Mathematical Society, 43(04):439–562, Aug 2006.
- [21] Stephan Kreutzer and Siamak Tazari. On brambles, grid-like minors, and parameterized intractability of monadic second-order logic. Symposium on Discrete Algorithms, page 354–364, Jan 2010.
- [22] Christos H Papadimitriou, Kenneth Steiglitz, and Dover Publications. Combinatorial Optimization: Algorithms and Complexity. Dover Publications, Inc, Mineola, 2014.
- [23] H. P. Patil. On the structure of -trees. J. Combin. Inform. System Sci., 11(2-4):57–64, 1986.
- [24] P. D. Seymour and Robin Thomas. Graph searching and a min-max theorem for tree-width. J. Combin. Theory Ser. B, 58(1):22–33, 1993.
- [25] Noah Speeter. The gonality of rook graphs, 2022.
- [26] Josse van Dobben de Bruyn and Dion Gijswijt. Treewidth is a lower bound on graph gonality. Algebr. Comb., 3(4):941–953, 2020.
- [27] Jun-Ming Xu and Chao Yang. Connectivity of cartesian product graphs. Discrete Mathematics, 306(1):159–165, 2006.