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

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

Archive

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