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 multiplication, 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

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

Archive

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