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

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

Archive

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