mscroggs.co.uk
mscroggs.co.uk

subscribe

Sunday Afternoon Maths LIV

 Posted on 2016-07-17 

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

Combining multiples

In each of these questions, positive integers should be taken to include 0.
1. What is the largest number that cannot be written in the form \(3a+5b\), where \(a\) and \(b\) are positive integers?
2. What is the largest number that cannot be written in the form \(3a+7b\), where \(a\) and \(b\) are positive integers?
3. What is the largest number that cannot be written in the form \(10a+11b\), where \(a\) and \(b\) are positive integers?
4. Given \(n\) and \(m\), what is the largest number that cannot be written in the form \(na+mb\), where \(a\) and \(b\) are positive integers?

Show answer & extension

Cross diagonal cover problem

Draw with an \(m\times n\) rectangle, split into unit squares. Starting in the top left corner, move at 45° across the rectangle. When you reach the side, bounce off. Continue until you reach another corner of the rectangle:
How many squares will be coloured in when the process ends?

Show answer

If you enjoyed these puzzles, check out Advent calendar 2025,
puzzles about tangents, 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

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

Archive

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