Quoto

Learn / Library / Brainteasers

Triple-neighbourhood claims

BrainteasersHard

sensors are fixed around a circular fence. Each sensor is reliable (a truth-teller) or broken (a liar). Every sensor reports: "Among me and my neighbours there is exactly one broken sensor." In how many different ways can the types be assigned to the labelled positions so that all reports are consistent?

Checking an answer needs JavaScript. The hint and the solution open without it.

A whole number, a decimal, a fraction like 3/8 or a percent.

Hint

Find which patterns of seats around any person make his statement true, and check what that forces for truth-tellers and liars.

Solution
  1. A truth-teller needs exactly one liar among himself and his neighbours, and a liar needs a number of liars in his triple that is not ; a lone truth-teller between liars has liars in his triple, and truth-tellers in a row give the middle one , so truth-tellers occur only in adjacent pairs.
  2. A single liar between truth-tellers would see exactly liar (himself), which is not allowed, so between consecutive pairs of truth-tellers there are at least liars, and the case of no truth-tellers at all (all liars) is consistent.
  3. With pairs, each followed by a gap of at least liars, the extra liars beyond per gap total and can be shared out in ways, and placing the pattern on labelled seats gives arrangements.
  4. This gives , and for , , , and for , so the total is .

Answer: