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

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

Archive

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