mscroggs.co.uk
mscroggs.co.uk

subscribe

Puzzles

Hat check

Three logicians, A, B and C, are wearing hats. Each has a strictly positive integer written on it. The number on one of the hats is the sum of the numbers on the other two.
The logicians say:
A: I don't know the number on my hat.
B: The number on my hat is 15.
Which numbers are on hats A and C?

Show hint


Show answer

Tags: logic
If you enjoyed this puzzle, check out Sunday Afternoon Maths LIV,
puzzles about logic, or a random puzzle.

Archive

Show me a random puzzle
 Most recent collections 

Advent calendar 2025

Advent calendar 2024

Advent calendar 2023

Advent calendar 2022


List of all puzzles

Tags

multiplaction squares prime factors surds chocolate polynomials symmetry axes menace neighbours chalkdust crossnumber coins probabilty triangles taxicab geometry square roots books probability combinatorics perfect numbers tangents volume complex numbers folding tube maps sets chess geometric means determinants crosswords spheres tournaments dice median geometry number averages dominos ellipses even numbers integers sport functions cube numbers integration geometric mean indices logic shape digits colouring 3d shapes powers clocks floors routes area matrices pascal's triangle differentiation grids cards perimeter quadrilaterals multiplication palindromes odd numbers tiling sequences cryptic crossnumbers addition cryptic clues sum to infinity angles multiples irreducible numbers wordplay factors crossnumbers coordinates consecutive numbers advent means gerrymandering products range star numbers christmas mean quadratics graphs percentages albgebra expansions lines binary prime numbers digital clocks medians time rugby partitions decahedra division polygons people maths algebra hexagons pentagons scales proportion doubling calculus arrows xor money lists ave consecutive integers rectangles parabolas elections square numbers bases balancing the only crossnumber trigonometry speed fractions square grids unit fractions regular shapes games numbers planes factorials circles remainders shapes triangle numbers dates dodecagons digital products 2d shapes cubics squares sums

Archive

Show me a random puzzle
▼ show ▼
© Matthew Scroggs 2012–2026