🦘 Math Kangaroo Grade All Felix 1-2 Ecolier 3-4 Benjamin 5-6 Kadett 7-8 Junior 9-10 Student 11-12 ⇄ switch contest
2022 Math Kangaroo

Problem 23

Problem 23 · 2022 Math Kangaroo Stretch
Logic & Word Problems casework

30 people are sitting around a round table. Some of them are wearing a hat. People without a hat must tell the truth; people with a hat may either tell the truth or lie. Each person claims: “At least one of my two neighbours is wearing a hat.” What is the largest number of people who can be without a hat?

Show answer
Answer: D — 20
Show hints
Hint 1 of 2
A truth-teller (no hat) says truly that a neighbour wears a hat, so a no-hat person cannot sit between two no-hat people.
Still stuck? Show hint 2 →
Hint 2 of 2
That means no three no-hat people in a row - fit as many no-hat people as that allows around 30 seats.
Show solution
Approach: forbid three hatless people in a row, then pack the most
  1. A hatless person always tells the truth, so their claim 'a neighbour wears a hat' must be true; thus no hatless person sits between two hatless people.
  2. So at most two hatless people can sit consecutively, in a pattern like (no-hat, no-hat, hat) repeated.
  3. Around 30 seats that gives 2 out of every 3, i.e. 20 hatless people.
  4. So the answer is D.
Mark: · log in to save