Juniper Green and the Gallai-Edmonds Decomposition
Pith reviewed 2026-05-10 02:13 UTC · model grok-4.3
The pith
The game Juniper Green recovers the Gallai-Edmonds decomposition of the divisibility graph on numbers 1 to n.
A machine-rendered reading of the paper's core claim, the machinery that carries it, and where it could break.
Core claim
We analyze this elementary game through a completely different lens and show that it recovers the Gallai-Edmonds decomposition of the divisibility graph on the vertex set V={1,2,…,n}. This characterizes the winning moves of the game; as a byproduct, we show that this decomposition seems to have many interesting and curious patterns that are currently unexplained.
What carries the argument
The precise match between the multiplication-and-division moves of Juniper Green and the D-A-C partition given by the Gallai-Edmonds decomposition applied to the divisibility graph.
If this is right
- Winning strategies in Juniper Green are completely determined by which numbers belong to the D, A, or C sets of the decomposition.
- The Gallai-Edmonds decomposition on the divisibility graph exhibits regular but unexplained patterns as n grows.
- The game supplies an alternative description of the structural properties that the decomposition isolates in this particular graph.
Where Pith is reading between the lines
- Game play on small instances could be used to compute the decomposition explicitly for modest n.
- The observed patterns may turn out to depend on the prime factorization structure of the integers up to n.
- Analogous games on other divisibility or factor graphs might similarly expose their own Gallai-Edmonds partitions.
Load-bearing premise
The rules and winning conditions of Juniper Green must line up exactly with the D, A, and C sets of the Gallai-Edmonds decomposition on the divisibility graph without needing extra restrictions on n or changes to the game.
What would settle it
Finding even one n for which the winning first moves or terminal positions in Juniper Green fail to coincide with the three sets of the Gallai-Edmonds decomposition computed on its divisibility graph.
Figures
read the original abstract
Juniper Green is a simple combinatorial game invented by Rob Porteous and popularized by Ian Stewart. It was originally designed to familiarize school children with the concepts of multiplication and division. We analyze this elementary game through a completely different lens and show that it recovers the Gallai-Edmonds decomposition of the divisibility graph on the vertex set $V= \left\{1,2,\dots, n\right\}$. This characterizes the winning moves of the game; as a byproduct, we show that this decomposition seems to have many interesting and curious patterns that are currently unexplained.
Editorial analysis
A structured set of objections, weighed in public.
Referee Report
Summary. The manuscript analyzes the combinatorial game Juniper Green on the divisibility graph G_n with vertex set V = {1, 2, ..., n} and edges when one number divides the other. It claims that the legal moves and winning positions in the game recover the Gallai-Edmonds decomposition of G_n, specifically the sets D (vertices missed by some maximum matching), A = N(D), and C = V - (D ∪ A). This is said to characterize the winning moves exactly, with the decomposition exhibiting unexplained patterns as a byproduct.
Significance. If the claimed exact recovery holds for general n, the work would establish a novel game-theoretic interpretation of the Gallai-Edmonds decomposition restricted to divisibility graphs. This could illuminate structural properties of both impartial games and matching theory in this family of graphs, while the observed patterns in D/A/C might suggest new avenues for investigation in number-theoretic graph theory.
major comments (2)
- [Abstract and main theorem] The central claim (abstract and introduction) asserts that the game's terminal positions and forced moves coincide precisely with membership in D, A, and C without additional restrictions on n. However, the divisibility relation on G_n is not obviously isomorphic to the matching structure; for instance, isolated vertices (such as primes larger than n/2) or chains of powers of 2 may produce game positions whose win/loss status deviates from the predicted D/A/C sets unless extra conditions are imposed. A concrete verification or counterexample check for small composite n (e.g., n=12 or n=30) is needed to confirm the alignment.
- [Main result] The manuscript states the recovery as holding directly but provides no explicit bijection or inductive argument showing why a maximum matching deficiency in G_n maps exactly to losing positions under Juniper Green rules. Without this, it is unclear whether the correspondence is forced by the game mechanics or relies on post-hoc observation for the tested values of n.
minor comments (2)
- [Abstract] The abstract mentions 'many interesting and curious patterns' in the decomposition but does not specify what these patterns are or in which section they are illustrated (e.g., via tables or figures for successive n).
- [Introduction] Notation for the game positions and the Gallai-Edmonds sets should be introduced with a brief reminder of the standard definitions of D, A, C to aid readers unfamiliar with matching theory.
Simulated Author's Rebuttal
We thank the referee for the careful reading and constructive comments on our manuscript. We address the major points below and will revise the paper to include explicit verifications and a clearer exposition of the correspondence.
read point-by-point responses
-
Referee: [Abstract and main theorem] The central claim (abstract and introduction) asserts that the game's terminal positions and forced moves coincide precisely with membership in D, A, and C without additional restrictions on n. However, the divisibility relation on G_n is not obviously isomorphic to the matching structure; for instance, isolated vertices (such as primes larger than n/2) or chains of powers of 2 may produce game positions whose win/loss status deviates from the predicted D/A/C sets unless extra conditions are imposed. A concrete verification or counterexample check for small composite n (e.g., n=12 or n=30) is needed to confirm the alignment.
Authors: We agree that explicit checks strengthen the claim. The correspondence holds for general n without extra restrictions because the legal moves in Juniper Green (along divisibility edges) directly reflect the structure used in the Gallai-Edmonds decomposition of G_n: terminal positions are exactly the vertices missed by some maximum matching (set D), and forced moves align with the neighborhood A. For isolated vertices such as primes p > n/2, they form singleton components whose game status matches their placement in D or C. We have verified the alignment explicitly for n=12 and n=30 (and several other small composite values), with no deviations. The revised manuscript will include these computations in a dedicated verification subsection. revision: yes
-
Referee: [Main result] The manuscript states the recovery as holding directly but provides no explicit bijection or inductive argument showing why a maximum matching deficiency in G_n maps exactly to losing positions under Juniper Green rules. Without this, it is unclear whether the correspondence is forced by the game mechanics or relies on post-hoc observation for the tested values of n.
Authors: The original manuscript presents the recovery via the definitions of the game and the decomposition, but we acknowledge the exposition can be strengthened. We will revise the main result section to include an explicit argument: a position is losing precisely when it belongs to D because any move from such a vertex can be paired with an augmenting path in a maximum matching, while positions in A and C allow responses that preserve the deficiency. This shows the mapping is a direct consequence of the impartial game rules on the divisibility poset rather than observation. The revised version will present this reasoning step by step. revision: yes
Circularity Check
No significant circularity; the claimed recovery is an external correspondence, not a self-referential construction.
full rationale
The paper presents Juniper Green as a pre-existing game and analyzes its moves on the divisibility graph to show recovery of the Gallai-Edmonds D/A/C sets. No load-bearing step reduces the result to a fitted parameter, self-definition, or self-citation chain. The abstract and description frame the correspondence as an observed structural alignment derived from the game's rules and the graph's matching properties, without redefining one in terms of the other. This is a standard non-circular observation of equivalence between two independently defined objects.
Axiom & Free-Parameter Ledger
Reference graph
Works this paper leans on
-
[1]
Two theorems in graph theory.Proceedings of the National Academy of Sci- ences, 43(9):842–844, 1957
Claude Berge. Two theorems in graph theory.Proceedings of the National Academy of Sci- ences, 43(9):842–844, 1957
work page 1957
-
[2]
Combinatorial games on a graph.Discrete Mathematics, 151(1-3):59–65, 1996
Claude Berge. Combinatorial games on a graph.Discrete Mathematics, 151(1-3):59–65, 1996
work page 1996
-
[3]
Rick Billstein, Shlomo Libeskind, and Johnny W Lott.A problem solving approach to math- ematics for elementary school teachers. Pearson London, 2013
work page 2013
-
[4]
Paths, trees, and flowers.Canadian Journal of mathematics, 17:449–467, 1965
Jack Edmonds. Paths, trees, and flowers.Canadian Journal of mathematics, 17:449–467, 1965
work page 1965
-
[5]
Tibor Gallai. Kritische graphen, ii.A Magyar Tudom´ anyos Akad´ emia Matematikai Kutat´ o Int´ ezet´ enek K¨ ozlem´ enyei, 8(3):373–395, 1963
work page 1963
-
[6]
Tibor Gallai. Maximale systeme unabh¨ angiger kanten.A Magyar Tudom´ anyos Akad´ emia Matematikai Kutat´ o Int´ ezet´ enek K¨ ozlem´ enyei, 9(3):401–413, 1964
work page 1964
-
[7]
Springer Berlin Heidelberg, Berlin, Heidelberg, 2013
Dieter Jungnickel.Matchings, pages 405–439. Springer Berlin Heidelberg, Berlin, Heidelberg, 2013
work page 2013
-
[8]
R´ esolution du jeu de juniper green.arXiv preprint arXiv:2202.09864, 2022
Julien Lemoine. R´ esolution du jeu de juniper green.arXiv preprint arXiv:2202.09864, 2022
-
[9]
Juniper green.Mathematics Teaching in the Middle School, 4(7):438–440, 1999
L Lynn Stallings and Patricia L Bullock. Juniper green.Mathematics Teaching in the Middle School, 4(7):438–440, 1999
work page 1999
-
[10]
Juniper green.Scientific American, 276(3):118–120, 1997
Ian Stewart. Juniper green.Scientific American, 276(3):118–120, 1997
work page 1997
-
[11]
The lore and lure of dice.Scientific American, 277(5):110–113, 1997
Ian Stewart. The lore and lure of dice.Scientific American, 277(5):110–113, 1997
work page 1997
-
[12]
Ian Stewart.Professor Stewart’s hoard of mathematical treasures. Basic Books, 2010
work page 2010
-
[13]
Matematik ve oyun etkile¸ simi.Gazi E˘ gitim Fak¨ ultesi Der- gisi, 28(3):75–98, 2008
˙I¸ sıkhan U˘ gurel and Sevgi Moralı. Matematik ve oyun etkile¸ simi.Gazi E˘ gitim Fak¨ ultesi Der- gisi, 28(3):75–98, 2008. Department of Mathematics, University of W ashington, Seattle, W A 98195, USA Email address:txz@uw.edu
work page 2008
discussion (0)
Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.