Deprecated: $wgMWOAuthSharedUserIDs=false is deprecated, set $wgMWOAuthSharedUserIDs=true, $wgMWOAuthSharedUserSource='local' instead [Called from MediaWiki\HookContainer\HookContainer::run in /var/www/html/w/includes/HookContainer/HookContainer.php at line 135] in /var/www/html/w/includes/Debug/MWDebug.php on line 372
Prisoners, rooms, and light switches - MaRDI portal

Prisoners, rooms, and light switches (Q2227823)

From MaRDI portal
scientific article
Language Label Description Also known as
English
Prisoners, rooms, and light switches
scientific article

    Statements

    Prisoners, rooms, and light switches (English)
    0 references
    16 February 2021
    0 references
    Summary: We examine a new variant of the classic prisoners and light switches puzzle: A warden leads his \(n\) prisoners in and out of \(r\) rooms, one at a time, in some order, with each prisoner eventually visiting every room an arbitrarily large number of times. The rooms are indistinguishable, except that each one has \(s\) light switches; the prisoners win their freedom if at some point a prisoner can correctly declare that each prisoner has been in every room at least once. \textit{What is the minimum number of switches per room, \(s\), such that the prisoners can manage this?} We show that if the prisoners do not know the switches' starting configuration, then they have no chance of escape -- but if the prisoners do know the starting configuration, then the minimum sufficient \(s\) is surprisingly small. The analysis gives rise to a number of puzzling open questions, as well.
    0 references
    0 references
    0 references

    Identifiers

    0 references
    0 references
    0 references
    0 references
    0 references
    0 references
    0 references
    0 references