Knights, spies, games and ballot sequences (Q710599)

From MaRDI portal
scientific article
Language Label Description Also known as
English
Knights, spies, games and ballot sequences
scientific article

    Statements

    Knights, spies, games and ballot sequences (English)
    0 references
    0 references
    19 October 2010
    0 references
    A solution to the Knights and Spies Problem is presented. In a room there are \(n\) people, each labeled with a unique number between 1 and \(n\). A person may either be a knight or a spy. Knights always tell the truth, while spies may lie or tell the truth as they see fit. Each person in the room knows the identity of everyone else. Apart from this, all that is known is that strictly more knights than spies are present. Asking only questions of the form ``person \(i\), what is the identity of person \(j\)?'', what is the least number of questions that will guarantee to find the true identities of all \(n\) people? A questioning strategy is presented that uses slightly less than \(3n/2\) questions, and it is shown that it is optimal by solving a related two-player game. The performance of this strategy is analysed using methods from the famous ballot-counting problem.
    0 references
    0 references
    0 references
    0 references
    0 references
    knights
    0 references
    spies
    0 references
    two-player game
    0 references
    ballot sequence
    0 references
    0 references
    0 references
    0 references
    0 references
    0 references