Scramble Number: Invariants & Mixing Dynamics
- Scramble number is a measure that quantifies a system’s resistance to resolution, defined via connected vertex sets in graphs or maximum cycle lengths in permutation scramblings.
- It bridges combinatorial invariants with operational measures, linking treewidth and divisorial gonality in graph theory with mixing times in puzzles like the Rubik’s cube.
- Computing the scramble number is NP-hard in graphs, yet its related concepts offer practical insights for analyzing randomization and convergence in both deterministic and stochastic systems.
“Scramble number” appears in contemporary research in more than one technical sense. Its primary established meaning is a graph invariant defined from collections of connected vertex sets called scrambles, introduced to study chip-firing and divisorial gonality. In other settings, the same expression is naturally interpreted as a quantitative measure of scrambling complexity, such as the longest cycle of a permutation induced by a hardware scrambling map or the mixing time of a random walk intended to randomize a Rubik’s cube (Harp et al., 2020, Rangineni, 2011, Qu et al., 2024).
1. Terminological scope
In graph theory, scramble number is a formal invariant of a connected finite multigraph. It was introduced as a refinement of bramble-based lower bounds and satisfies
$\operatorname{tw}(G)\le \operatorname{sn}(G)\le \gon(G),$
placing it between treewidth and divisorial gonality (Harp et al., 2020).
The same phrase is not used uniformly outside graph theory. In Kak’s mesh-array work on matrix-position scrambling, the paper defines the “period” of the scrambling transformation as the maximum cycle length of the associated permutation; this maximum cycle length is the natural scramble number in that setting, although the phrase itself is not explicitly used in the paper (Rangineni, 2011). In the Rubik’s-cube literature, a plausible operational interpretation is the mixing time of a Markov chain modeling random face turns, that is, the number of random moves needed before the distribution of cube states is close to uniform in total variation distance (Qu et al., 2024).
This plurality of usage matters because the underlying mathematical objects differ sharply. In the graph-theoretic sense, scramble number is a max–min invariant over connected subsets and cuts. In permutation-based or stochastic settings, it is naturally attached to orbit length or convergence time. The common theme is not a shared definition but a shared role: each quantity measures how resistant a system is to being “resolved” by a small obstruction, whether that obstruction is a hitting set, a cut, a short cycle, or insufficient randomization time.
2. Graph-theoretic definition
Let be a connected finite multigraph. A scramble on is a finite collection of subsets
called eggs, such that each induced subgraph is connected. Two auxiliary parameters are attached to (Cenek et al., 2022).
A hitting set is a vertex set meeting every egg, and the minimum size of such a set is
An egg-cut is an edge set such that 0 has at least two connected components that each contain an egg; the minimum size of an egg-cut is
1
The order of the scramble is then
2
and the scramble number of 3 is
4
This generalizes the bramble number. If the eggs are required to pairwise touch, one recovers brambles and treewidth; in that sense, scramble number extends the bramble formalism while incorporating edge-separation data directly into the invariant (Cenek et al., 2022).
The connection with chip-firing is structural rather than superficial. A divisor on 5 is an integer assignment to vertices, chip-firing moves preserve degree, and divisorial gonality 6 is the minimum degree of a divisor of positive rank. Scramble number furnishes a combinatorial obstruction to low-degree positive-rank divisors, yielding the inequality
7
while bramble theory gives 8 (Harp et al., 2020).
3. Structure, bounds, and complexity
The central tree-cut analogue of scramble number is screewidth, defined from a variant of tree-cut decompositions whose width is
9
For every graph,
0
so screewidth provides a systematic upper-bound framework for scramble number (Cenek et al., 2022).
Several basic structural properties are now standard. Trees are exactly the graphs of scramble number 1. Scramble number is monotone under subgraphs, invariant under subdividing edges and smoothing 2-valent vertices, and therefore monotone under topological minors. It is not minor monotone in general (Eagleton et al., 2022, Cenek et al., 2022). The non-minor-monotonicity is one of the key points distinguishing scramble number from treewidth.
The low-end structure is unusually rigid. A graph has scramble number at most 2 if and only if it has none of 3, 4, 5, and 6 as a topological minor (Eagleton et al., 2022). By contrast, no finite list of forbidden topological minors characterizes graphs of any fixed scramble number greater than 7 (Eagleton et al., 2022). This failure of finite obstruction theory at higher values reflects the existence of infinite families of topological-minor-minimal graphs with prescribed scramble number.
The computational picture is correspondingly difficult. Computing scramble number is NP-hard (Echavarria et al., 2021). The carton number, defined as the minimum size of a maximum-order scramble, can be exponential in the size of the graph, which shows that scrambles are not valid NP certificates in general (Connor et al., 2023). This removes the most obvious route to placing the decision problem “8?” in NP. A restricted variant behaves better: the disjoint scramble number is fixed-parameter tractable when parameterized by 9 and 0, via an MS1 formulation and Courcelle’s theorem (Connor et al., 2023).
The invariant is also tightly linked to other width and congestion parameters. Vertex congestion is an upper bound on screewidth and hence on scramble number, leading to
2
for maximum degree 3, and consequently to 4 upper bounds for bounded-degree planar graphs and, more generally, bounded-degree graphs in minor-closed families excluding a fixed complete graph (Connor et al., 2023).
4. Uniform scrambles and computed families
A particularly tractable family of scrambles is the 5-uniform scramble 6, whose eggs are all connected induced subgraphs on exactly 7 vertices. For a connected graph 8 on 9 vertices, the order of 0 is
1
where 2 is the 3-restricted edge-connectivity and 4 is the 5-component independence number (Cenek et al., 2021).
This formula yields a broad girth-based theorem. If 6 has girth at least 7, then
8
and if in addition
9
then
0
This converts restricted edge-connectivity and generalized independence information directly into exact gonality and exact scramble number (Cenek et al., 2021).
A number of graph families admit exact formulas. For cycles,
1
and the same formula also holds for 2. For complete multipartite graphs 3, if
4
then
5
again matching scramble number. For grid graphs 6,
7
9
and for toroidal grids 0,
1
Product formulas obtained by lower-bounding scramble number and matching Aidun–Morrison upper bounds for gonality are especially strong. If 2 and 3 are trees, then
4
If 5 is a cycle and 6 a tree, then
7
and for 8,
9
Specific examples illustrate both sharpness and limitations. In the cube graph, scramble number closes the gap between treewidth and gonality: 0 (Beougher et al., 2024). In the dodecahedron graph, the 1-uniform scramble yields
2
(Beougher et al., 2024). In the icosahedron graph, however,
3
so scramble number is not always sharp (Beougher et al., 2024).
Hypercubes provide a particularly instructive sequence. The paper on uniform scrambles proves
4
and also establishes that
5
This shows that scramble number alone cannot prove the conjectural formula 6 for all higher-dimensional hypercubes (Cenek et al., 2021).
5. Permutation-based scrambling in Kak’s mesh array
In Kak’s mesh-array literature, the relevant object is not a graph invariant but a permutation induced on matrix positions. Kak’s mesh array is a two-dimensional systolic architecture for multiplying two 7 matrices in 8 time steps. When its output placement is interpreted as a permutation of matrix positions, repeated application yields a deterministic scrambling transformation (Rangineni, 2011).
For 9, the standard row-major order
0
is sent to the mesh order
1
The induced permutation decomposes as
2
with cycle lengths 3 (Rangineni, 2011).
The paper defines the period of the scrambling transformation, for practical purposes, as the maximum cycle length, even though the full return time of the permutation is the least common multiple of all cycle lengths. In that sense, the natural scramble number for order 4 is
5
For the 6 case,
7
The paper computes longest cycle lengths for orders 8 through 9, then forms a binary sequence by recording parity: even longest-cycle length gives bit 0, odd longest-cycle length gives bit 1. After converting 2 to 3, it studies the autocorrelation
4
The reported outcome is that the autocorrelation is “effectively two valued,” with a dominant value at 5 and nearly flat small values for 6, which the paper interprets as evidence that the parity sequence is random-like (Rangineni, 2011).
This use of scramble number is therefore orbit-theoretic rather than graph-theoretic. It quantifies the depth of positional mixing produced by iterating a fixed permutation, not the obstruction structure of a graph.
6. Operational and adjacent usages
In the Rubik’s-cube literature, a natural operational meaning of scramble number is the mixing time of a random walk on cube configurations. The standard model chooses one of the six faces uniformly and then a rotation by 7, 8, or 9 uniformly, producing a Markov chain on the approximately 00 reachable states of the 01 cube. The mixing time is
02
where 03 is the total variation distance to the uniform distribution (Qu et al., 2024).
The first rigorous lower bound in this model is
04
equivalently, 25 random moves are not enough to bring the distribution within total variation distance 05 of uniform (Qu et al., 2024). A later paper introduces a stopping time 06: the first time every pair of small cubes is “unlinked” along all three coordinate axes. This is a natural candidate for a strong uniform time, but the paper shows that it is not strongly uniform. It nevertheless gives informative heuristics: for the Pocket Cube, the exact mixing time is 07, while the expected time to unlink all pairs of corners is approximately 08; for the full 09 cube, simulations suggest 10, and the corresponding non-rigorous heuristic scale for the mixing time is at most 11 (Fernique, 15 Sep 2025).
Several adjacent literatures use “scrambling” intensively without fixing “scramble number” as a formal term. In number-conserving local random quantum circuits, the relevant quantitative pair is the maximum effective design order 12, with
13
and the depth 14 required to approach an approximate 15-design, for which the paper gives
16
and conjectures
17
(Hearth et al., 2023). In randomized quasi-Monte Carlo, coarse scrambling of Sobol’ and Niederreiter sequences preserves the 18-sequence property, achieves variance
19
and has maximal gain coefficient
20
(Suzuki, 2 Oct 2025). In scrambled 21-linear pseudorandom number generators, scrambling denotes nonlinear maps such as 22, 23, 24, and 25 applied to a linear state engine to suppress linear artifacts and pass strong statistical tests (Blackman et al., 2018).
These adjacent usages do not define a single invariant called scramble number. They do, however, preserve the underlying conceptual pattern: a system has an intrinsic scrambling capability, and the corresponding quantitative parameter measures how much structure survives under iteration, randomization, or nonlinear post-processing.