English

A Stopping Game on Zero-Sum Sequences

Discrete Mathematics 2024-11-21 v1 Combinatorics

Abstract

We introduce and analyze a natural game formulated as follows. In this one-person game, the player is given a random permutation A=(a1,,an)A=(a_1,\dots, a_n) of a multiset MM of nn reals that sum up to 00, where each of the n!n! permutation sequences is equally likely. The player only knows the value of nn beforehand. The elements of the sequence are revealed one by one and the player can stop the game at any time. Once the process stops, say, after the iith element is revealed, the player collects the amount j=i+1naj\sum_{j=i+1}^{n} a_j as his/her payoff and the game is over (the payoff corresponds to the unrevealed part of the sequence). Three online algorithms are given for maximizing the expected payoff in the binary case when MM contains only 11's and 1-1's. Algorithm 1\texttt{Algorithm 1} is slightly suboptimal, but is easier to analyze. Moreover, it can also be used when nn is only known with some approximation. Algorithm 2\texttt{Algorithm 2} is exactly optimal but not so easy to analyze on its own. Algorithm 3\texttt{Algorithm 3} is the simplest of all three. It turns out that the expected payoffs of the player are Θ(n)\Theta(\sqrt{n}) for all three algorithms. In the end, we address the general problem and deal with an arbitrary zero-sum multiset, for which we show that our Algorithm 3\texttt{Algorithm 3} returns a payoff proportional to n\sqrt{n}, which is worst case-optimal.

Keywords

Cite

@article{arxiv.2411.13206,
  title  = {A Stopping Game on Zero-Sum Sequences},
  author = {Adrian Dumitrescu and Arsenii Sagdeev},
  journal= {arXiv preprint arXiv:2411.13206},
  year   = {2024}
}

Comments

10+1 pages, 2 figures

R2 v1 2026-06-28T20:06:08.395Z