A monastery's room rules hide the exact number of pilgrims who showed up
An abbot has pilgrims sleep in a square, two-floor dormitory of sixteen rooms, eight per floor. Every room must be occupied, no room may hold more than three people, each side of the building needs eleven sleepers, and the upper floor must hold exactly twice as many as the lower. The pilgrims turn out to be three more than first announced — and the monks still make it work. How many pilgrims came in the end?
Reveal the answer
Thirty. Under the Abbot's rules, only 24, 27, 30, 33, 36, 39 or 42 pilgrims can be seated at all without breaking a rule — and only 27 avoids overcrowding any room, so 27 must have been the number first announced. Add the three latecomers and the true total is 30. From Henry Dudeney's The Canterbury Puzzles (1907), puzzle No. 42, 'The Riddle of the Pilgrims'.
— Henry Dudeney, The Canterbury Puzzles — Puzzle No. 42, 'The Riddle of the Pilgrims', 1907