Search arXiv⌕ Search

arXiv · 2611.40648

Computing the Remoteness Function of Exact NIM(n,k) with $n \leq 3k$

Abstract

We obtain an explicit formula for the Smith remoteness function of the impartial game Exact NIM(n,k) when $2k\leq n \leq 3k$ under the normal-play convention (the case $n<2k$ is trivial). A legal move in this game decreases exactly $k$ of $n$ piles of tokens by any positive amounts. Even characterizing the P-positions of NIM(5,2) was an open problem for at least ten years. For each position we consider the corresponding Bouton matrix, introduce the concept of its rank, and define capacity as the maximal possible number of piles that can be decreased while preserving the rank. Then, P-positions are exactly those of capacity smaller than $k$. Generalizing this result, we also express the remoteness function in the same terms. We provide an algorithm computing the rank and capacity in polynomial time even if $n$ and $k$ are part of the input. For fixed $k$, we provide a finite-state automaton recognizing the P-positions and nondeterministic finite-state transducers that output the rank and an optimal move (the winner wins as quickly as possible; the loser resists as long as possible). From this we conclude that, for Exact NIM(n,k) with $k=O(1)$ and $n\leq 3k$, P-membership belongs to logspace uniform $NC^1$, while computing the remoteness function and an optimal move belongs to $FNC^1$; these problems can therefore be solved in logarithmic space.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Vladimir Gurvich, Mariya Naumova, Artem Parfenov, Mikhail Vyalyi. 2026-11-30. Computing the Remoteness Function of Exact NIM(n,k) with $n \leq 3k$. https://searcharxiv.org/abs/2611.40648

Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite Search arXiv by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Asymptotic probability of irreducibles I: connectedness

We study the structure of the asymptotic expansion of the probability that a combinatorial object is connected. We show that the coefficients appearing in those asymptotics are integers and can be interpreted as the counting sequences of derivative combinatorial classes. This result applies to rapidly growing combinatorial structures, which we call gargantuan, that also admit a sequence decomposition. We apply it to several models of graphs, of surfaces (square-tiled surfaces, combinatorial maps), and to geometric models of higher dimension (constellations, graph encoded manifolds). The corresponding derivative combinatorial classes are irreducible (multi)tournaments, indecomposable (multi)permutations and indecomposable perfect (multi)matchings. In particular, we complete the asymptotic expansion in the case of random labeled simple graph for which the first terms were given by Gilbert and by Wright.

math.CO↗

Edge open packing: structural characterizations, parameterized algorithms, and equality with induced matching

We study graph structure through the edge open packing number $\rhooe(G)$. A packing selects edges whose endpoint-induced subgraph consists precisely of those edges arranged in star components. For connected graphs, we give a criterion for every positive value of $\rhooe(G)$. We also characterize $\rhooe(G)=m-3$, where $m=|E(G)|$, by a common construction from disjoint stars and four conflict patterns. The target-size decision problem is $\mathrm{W}[1]$-complete, while the deficit parameter admits a quadratic kernel and an $O(n+m+2^k(k+1)^4)$-time algorithm. Thus, every fixed deficit can be recognized in linear time. Finally, we extend a known equality construction for trees. Starting with disjoint subdivided stars, we add edges incident with their centres while keeping two original leaves per star pendant. The resulting graph has equal induced matching and edge open packing numbers, and the original pendant edges form its unique maximum induced matching. This class contains every finite graph as an induced subgraph.

math.CO↗

Graphical view on linear extensions of finite posets

One of the possible cryptomorphic definitions of a partially ordered set (= a poset) $P$ on a non-empty finite ground set $N$ is in terms of the set ${\cal L}(P)$ of all its linear extensions, that is, in terms of the set of total orders on $N$ consistent with $P$. Any total order on $N$ can be interpreted as a node of a particular graph, called the permutohedral graph (over $N$), because it is indeed the graph of a certain polytope in $\mathbb{R}^{N}$, known as the permutohedron. It is shown in the paper that a non-empty set of total orders on $N$ equals to ${\cal L}(P)$ for some poset $P$ on $N$ if and only if it is a geodetically convex set in the permutohedral graph. This result means that a purely graphical concept of geodetical convexity in this graph is a cryptomorphic definition of a finite poset. In particular, the lattice of geodetically convex sets in this graph is graded and its height function is described in graphical terms. A counter-example, however, shows that the height function does not correspond to the usual graphical diameter, relating this matter to a combinatorial concept of the dimension of a poset. Two alternative cryptomorphic views on a poset $P$ on $N$ are also discussed. The geometric counterpart is its full-dimensional braid cone in $\mathbb{R}^{N}$, while a combinatorial alternative is a topology on $N$ distinguishing points, often referred as a (finite) distributive lattice.

math.CO↗