Article view

Covering Codes for Hats-on-a-line

By Sarang Aravamuthan, Sachin Lodha

Article information

Publication
Published 7 March 2006
Institutions at publication
Tata Consultancy Services (India)
7 Citations OpenAlex, 3 December 2026 FULL LIST: Citations
5 Countries with citations Where the citing authors were FULL LIST: Countries with citations
Usage Phase 3: not collected yet

Abstract

We consider a popular game puzzle, called Hats-on-a-line, wherein a warden has $n$ prisoners, each one wearing a randomly assigned black or white hat, stand in a line. Thus each prisoner can see the colors of all hats before him, but not his or of those behind him. Everyone can hear the answer called out by each prisoner. Based on this information and without any further communication, each prisoner has to call out his hat color starting from the back of the line. If he gets it right, he is released from the prison, otherwise he remains incarcerated forever. The goal of the team is to devise a strategy that maximizes the number of correct answers. A variation of this problem asks for the solution for an arbitrary number of colors. In this paper, we study the standard Hats-on-a-line problem and its natural extensions. We demonstrate an optimal strategy when the seeing radius and/or the hearing radius are limited. We show for certain orderings that arise from a (simulated) game between the warden and prisoners, how this problem relates to the theory of covering codes. Our investigations lead to two optimization problems related to covering codes in which one leads to an exact solution (for binary codes). For instance, we show that for $0 < k < n$, $(n-k-d) \le \alpha_m n$ where $d = t(n-k, m^k, m)$ is the minimum covering radius of an $m$-ary code of length ($n-k$) and size $m^k$ and $$\alpha_m = {\log m\over \log (m^2 -m +1)}.$$

Citations per year

Citations per year
YearCitations
2017 0
2018 0
2019 0
2020 0
2021 2
2022 1
2023 0
2024 0
2025 0
2026 2

OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.

Works citing this article

OpenAlex counts 7 citations; 6 citing works of them are listed here.

The newest works citing this article
Citing workYearPublished in
New Upper Bounds for Binary Linear Covering Codes 2026 IEEE Transactions on Information Theory
Prisoners in a line transmitting (binary+ε) bits of information 2026 Discrete Mathematics
Upper bounds on the length function for covering codes with covering radius $ R $ and codimension $ tR+1 $ 2022 Advances in Mathematics of Communications
The Raven's Hat: Fallen Pictures, Rising Sequences, and Other Mathematical Games 2021 The MIT Press eBooks
Linear nonbinary covering codes and saturating sets in projective spaces 2011 Advances in Mathematics of Communications
Yet Another Hat Game 2010 The Electronic Journal of Combinatorics

Where its authors are based

Countries of the institutions the article's authors were affiliated to when it was published.

  • Changes the map only; the tables list the figures.
  • USAGE Phase 3
Authors by country
CountryAuthors
India2
Citations from 5 countries
Citations by the country of the citing authors
CountryCitations
Italy3
Russia3
Canada1
Serbia1
United Kingdom1

Where the authors of the works citing these were, from the citing works OpenAlex lists. A citation whose authors were in several countries counts in each.