Learn / Library / Brainteasers
Parity of the others
A control room has monitoring units. Each unit is either calibrated (a truth-teller, always reporting truly) or faulty (a liar, always reporting falsely). Every unit reports: "The number of faulty units among the other units is even." In how many different ways can the states be assigned to the units so that all reports are consistent?
Checking an answer needs JavaScript. The hint and the solution open without it.
Hint
Compare the number of liars a truth-teller sees with the number a liar sees, and see what it says about the total.
Solution
- Let be the total number of liars. A truth-teller sees liars among the others, and the statement is true, so is even.
- A liar sees liars among the others, and the statement is false, so is odd, which again means that is even.
- So an assignment is consistent exactly when the total number of liars is even, whatever the types of individual people.
- Exactly half of the assignments have an even number of liars, which is .
Answer: