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

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

Archive

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