arXiv++ Combinatorics

Browse math.CO papers from arXiv

Papers by Johan Wästlund

11 paper(s) by this author · All BibTeX
2024-05-07
The bishop and knight checkmate on a large chessboard
In 1983 the chess periodical EG published a summary of a letter from Julius Telesin outlining how a king, a bishop and a knight can checkmate a lonely king on an arbitrarily large chessboard. The Telesin checkmating procedure doesn't seem to be widely known, and the published account left out a number of details. We describe the method precisely and show that it works against every defense. We also discuss the open question of the asymptotics of the largest distance to mate on a large square board.
2021-06-04
Slither code and the independence number of a random tree
We give a simple characterisation of the distribution of the independence number, and equivalently the matching number, of a random tree on $n$ labelled vertices chosen uniformly among the $n^{n-2}$ such trees: Roll an $n$-sided die repeatedly, and let $α$ be the smallest number such that after $α$ throws, at least $n-α$ distinct numbers have occurred. Then $α$ has the same distribution as the independence number, and $n-α$ has the same distribution as the matching number. We obtain a similar characterisation of the path cover number. The proofs are bijective and based on modifications of the Prüfer code.
2021-02-01
Faulty picture-hanging improved
A picture-hanging puzzle is the task of hanging a framed picture with a wire around a set of nails in such a way that it can remain hanging on certain specified sets of nails, but will fall if any more are removed. The classical brain teaser asks us to hang a picture on two nails in such a way that it falls when any one is detached. Demaine et al (2012) proved that all reasonable puzzles of this kind are solvable, and that for the $k$-out-of-$n$ problem, the size of a solution can be bounded by a polynomial in $n$. We give simplified proofs of these facts, for the latter leading to a reasonable exponent in the polynomial bound.
2020-08-29
Padlock Solitaire: A martingale trick for combinatorial enumeration
We introduce a one-person game that we call Padlock Solitaire which resembles the well-known clock solitaire card game. Analyzing variants of this game we obtain simple proofs of some classical results of combinatorics including ballot theorems and the enumeration of spanning trees in various graphs and hypergraphs.
2017-03-05
Endgames in bidding chess
Published • View PublicationBIB
Bidding chess is a chess variant where instead of alternating play, players bid for the opportunity to move. Generalizing a known result on so-called Richman games, we show that for a natural class of games including bidding chess, each position can be assigned rational upper and lower values corresponding to the limit proportion of money that Black (say) needs in order to force a win and to avoid losing, respectively. We have computed these values for all three-piece endgames, and in all cases, the upper and lower values coincide. Already with three pieces, the game is quite complex, and the values have denominators of up to 138 digits.
Games on Random Boards
Published • View PublicationBIB
We consider the following two-player game on a graph. A token is located at a vertex, and the players take turns to move it along an edge to a vertex that has not been visited before. A player who cannot move loses. We analyze outcomes with optimal play on percolation clusters of Euclidean lattices. On Z^2 with two different percolation parameters for odd and even sites, we prove that the game has no draws provided closed sites of one parity are sufficiently rare compared with those of the other parity (thus favoring one player). We prove this also for certain d-dimensional lattices with d>=3. It is an open question whether draws can occur when the two parameters are equal. On a finite ball of Z^2, with only odd sites closed but with the external boundary consisting of even sites, we identify up to logarithmic factors a critical window for the trade-off between the size of the ball and the percolation parameter. Outside this window, one or other player has a decisive advantage. Our analysis of the game is intimately tied to the effect of boundary conditions on maximum-cardinality matchings.
2012-07-03
Maharaja Nim, Wythoff's Queen meets the Knight
New combinatorial games are introduced, of which the most pertinent is Maharaja Nim. The rules extend those of the well-known impartial game of Wythoff Nim in which two players take turn in moving a single Queen of Chess on a large board, attempting to be the first to put her in the lower left corner. Here, in addition to the classical rules a player may also move the Queen as the Knight of Chess moves. We prove that the second player's winning positions of Maharaja Nim are close to the ones of Wythoff Nim, namely they are within a bounded distance to the lines with slope $\frac{\sqrt{5}+1}{2}$ and $\frac{\sqrt{5}-1}{2}$ respectively. For a close relative to Maharaja Nim, where the Knight's jumps are of the form $(2,3)$ and $(3,2)$ (rather than $(1,2)$ and $(2,1)$), we also demonstrate polynomial time complexity to the decision problem of the outcome of a given position.
2012-02-03
From heaps of matches to the limits of computability
Published • View PublicationBIB
We study so-called invariant games played with a fixed number $d$ of heaps of matches. A game is described by a finite list $\mathcal{M}$ of integer vectors of length $d$ specifying the legal moves. A move consists in changing the current game-state by adding one of the vectors in $\mathcal{M}$, provided all elements of the resulting vector are nonnegative. For instance, in a two-heap game, the vector $(1,-2)$ would mean adding one match to the first heap and removing two matches from the second heap. If $(1,-2) \in \mathcal{M}$, such a move would be permitted provided there are at least two matches in the second heap. Two players take turns, and a player unable to make a move loses. We show that these games embrace computational universality, and that therefore a number of basic questions about them are algorithmically undecidable. In particular, we prove that there is no algorithm that takes two games $\mathcal{M}$ and $\mathcal{M}'$ (with the same number of heaps) as input, and determines whether or not they are equivalent in the sense that every starting-position which is a first player win in one of the games is a first player win in the other.
The Phase Transition for Dyadic Tilings
Published • View PublicationBIB
A dyadic tile of order n is any rectangle obtained from the unit square by n successive bisections by horizontal or vertical cuts. Let each dyadic tile of order n be available with probability p, independently of the others. We prove that for p sufficiently close to 1, there exists a set of pairwise disjoint available tiles whose union is the unit square, with probability tending to 1 as n->infinity, as conjectured by Joel Spencer in 1999. In particular we prove that if p=7/8, such a tiling exists with probability at least 1-(3/4)^n. The proof involves a surprisingly delicate counting argument for sets of unavailable tiles that prevent tiling.
2009-12-02
The strange algebra of combinatorial games
We present an algebraic framework for the analysis of combinatorial games. This framework embraces the classical theory of partizan games as well as a number of misere games, comply-constrain games, and card games that have been studied more recently. It focuses on the construction of the quotient monoid of a game, an idea that has been successively applied to several classes of games.
2008-11-12
Enumeration of derangements with descents in prescribed positions
Published • View PublicationBIB
We enumerate derangements with descents in prescribed positions. A generating function was given by Guo-Niu Han and Guoce Xin in 2007. We give a combinatorial proof of this result, and derive several explicit formulas. To this end, we consider fixed point $λ$-coloured permutations, which are easily enumerated. Several formulae regarding these numbers are given, as well as a generalisation of Euler's difference tables. We also prove that except in a trivial special case, if a permutation $π$ is chosen uniformly among all permutations on $n$ elements, the events that $π$ has descents in a set $S$ of positions, and that $π$ is a derangement, are positively correlated.