arXiv Science⌕ 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://arxiv.science/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 arXiv Science by Indiciae: BibTeX · RIS.

KEEP EXPLORING

Related papers

Improved Lower Bounds for Multicolour Ramsey Numbers using SAT-Solvers

This paper sets out the results of a range of searches for linear and cyclic graph colourings with specific Ramsey properties. The new graphs comprise mainly 'template graphs' which can be used in a construction described by the current author in 2021 to build linear or cyclic compound graphs with inherited Ramsey properties. These graphs result in improved lower bounds for a wide range of multicolour Ramsey numbers. Searches were carried out using relatively simple programs (written in the language `C') to generate clauses for input to the PeneLoPe and Plingeling parallel SAT-solvers. When solutions were found, the output from the solvers specified the desired graph colourings. The majority of the graphs produced by this work are `template graphs' with parameters in the form $(k,k,3)$ or $(k,l,3)$ with $k \ne l$. Using these template graphs in familiar constructions, it has been possible to demonstrate significant improvements for lower bounds for most $R_r(k)$ for $5 \le k \le 9$ and $r \ge 4$. These improvements provide correspondingly increased lower bounds on $Γ(k) = \lim_{\substack{r \rightarrow \infty}} R{_r}(k)^{1/r}$. We also show that $R_3(8) \ge 7174$ and $R_3(9) \ge 15041$. Other new lower bounds include $R(3,6,6) \ge 338$ and $R(3,8,8) \ge 941$, based on non-template cyclic graphs, and the interesting particular cases $R(3,4,5,5) \ge 729$ and $R(3,5,5,5) \ge 1429$. A spreadsheet containing specimens of many of the graphs mentioned here will be attached as an ArXiv ancillary file.

math.CO↗

Antimagic labellings of (k, 2)-bipartite biregular graphs

An antimagic labelling of a graph is a bijection from the set of edges to $\{1, 2, \ldots , m\}$, such that all vertex-sums are pairwise distinct, where the vertex-sum of a vertex is the sum of labels on the edges incident to it. We say a graph is antimagic if it has an antimagic labelling. In 2023, it has been proven that connected $(k, l)$-bipartite graphs are antimagic if $k \geq l + 2$ and one of k or l is odd. In this paper, we extend this result to connected $(k, 2)$-bipartite biregular graphs for $k \geq 4$ even, and to $(k, 2)$-bipartite biregular graphs for $k \geq 3$ odd. We also prove the antimagicness of non-connected $(k, 2)$- bipartite graphs for $k \equiv 0 \mod 4$, and more generally for k even when every connected component has an even number of vertices of degree k. Moreover, we provide a new construction to prove the antimagicness of graphs obtained from k-regular graphs by subdividing each edge exactly once.

math.CO↗