Blue Dot News

One story a day from the frontier of human knowledge.

Science ·

Science

How Many Colors Can We Guess Right at a Party?

A team of researchers has found an upper limit on how many colors people can correctly guess in a guessing game played among the vertices of a graph.

Illustration: Blue Dot News

1 min read

In a crowded room, where strangers wear the same hat, can we figure out what color it is? In this game of "hat guessing," each player looks at the hats of their neighbors and tries to guess their own. The challenge lies in figuring out how many players can play this game without getting stuck with the wrong color.

Mason Shurman and his team have been studying this problem, and they've made a groundbreaking discovery about the maximum number of people who can play this game without getting it wrong. They found that if we know the size of the group (how many players there are) and how connected each player is to others (the "degree" of connection), we can create an upper bound on how many people can guess correctly. This has important implications for understanding how complex networks work.

So why does this matter? In the world of computer science, network algorithms often rely on these kinds of games to solve problems. By understanding the limits of these games, researchers can design more efficient and reliable systems. For instance, if we're building a social media platform that relies on graph algorithms, knowing how many people can guess correctly in this game can help us create better matching mechanisms or recommendation engines. The hat guessing number is not just a curious puzzle; it holds the key to unlocking smarter computer networks that work for everyone.

The people behind the work

  • Mason Shurman et al.

    Author

    Preprint on arXiv

Source: arXiv (preprint)

Sources & Verification

Every statement in this story is drawn from the facts below. Each is linked to a primary or reputable source — follow any citation to check it for yourself.

  1. The hat guessing number $HG(G)$ of a graph is defined by the following game: each player is placed on a vertex and assigned a hat with one of $k$ colors. arXiv (preprint)
  2. Each vertex can see only the hat color of the other vertices it is connected to in $G$. arXiv (preprint)
  3. All vertices guess, simultaneously, the color of their own hat. arXiv (preprint)
  4. The hat guessing number $HG(G)$ is the largest $k$ such that the players can guarantee that at least one of them guesses correctly. arXiv (preprint)
  5. In this paper, we show a general bound on the hat guessing number of a graph $G$ as a function of its order $n$ and its maximum degree $Δ$. arXiv (preprint)
  6. This is the first nontrivial upper bound on $HG(G)$ as a function of $Δ$ and $n$ when $Δ\geq \frac{n}{e}$. arXiv (preprint)
  7. From this result we also obtain that the hat guessing number of the random graph $G_{n,1/2}$ is at most asymptotically $cn$ for $c\sim 0.809$, and that graphs with maximum degrees of $ (1-\varepsilon )n$ for fixed $\varepsilon>0$ cannot have $HG(G)=(1-o(1))n$. arXiv (preprint)

Part of the Blue Dot News 2026 retrospective — an archive reconstructed automatically from the published scientific record. The science is real and cited above; this is not original daily reporting, and it is deliberately kept out of the live news feed.

← All stories