English

The Card Guessing Game: A generating function approach

Combinatorics 2022-07-22 v2

Abstract

Consider a card guessing game with complete feedback in which a deck of nn cards ordered 1,,n1,\dots, n is riffle-shuffled once. With the goal to maximize the number of correct guesses, a player guesses cards from the top of the deck one at a time under the optimal strategy until no cards remain. We provide an expression for the expected number of correct guesses with arbitrary number of terms, an accuracy improvement over the results of Liu (2021). In addition, using generating functions, we give a unified framework for systematically calculating higher-order moments. Although the extension of the framework to k2k\geq2 shuffles is not immediately straightforward, we are able to settle a long-standing McGrath's conjectured optimal strategy described in Bayer and Diaconis (1992) by showing that the optimal guessing strategy for k=1k=1 riffle shuffle does not necessarily apply to k2k\geq2 shuffles.

Keywords

Cite

@article{arxiv.2107.11142,
  title  = {The Card Guessing Game: A generating function approach},
  author = {Tipaluck Krityakierne and Thotsaporn Aek Thanatipanonda},
  journal= {arXiv preprint arXiv:2107.11142},
  year   = {2022}
}

Comments

22 pages, 4 figures

R2 v1 2026-06-24T04:27:29.430Z