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

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

Lots of ones

Is any of the numbers 11, 111, 1111, 11111, ... a square number?

Show answer

An integral

Source: Alex Bolton (inspired by Book Proofs blog)
What is
$$\int_0^{\frac\pi2}\frac1{1+\tan^a(x)}\,dx?$$

Show hint


Show answer & extension

Subsum

1) In a set of three integers, will there always be two integers whose sum is even?
2) How many integers must there be in a set so that there will always be three integers in the set whose sum is a multiple of 3?
3) How many integers must there be in a set so that there will always be four integers in the set whose sum is even?
4) How many integers must there be in a set so that there will always be three integers in the set whose sum is even?

Show answer & extension

More doubling cribbage

Source: Inspired by Math Puzzle of the Week blog
Brendan and Adam are playing lots more games of high stakes cribbage: whoever loses each game must double the other players money. For example, if Brendan has £3 and Adam has £4 then Brendan wins, they will have £6 and £1 respectively.
In each game, the player who has the least money wins.
Brendan and Adam notice that for some amounts of starting money, the games end with one player having all the money; but for other amounts, the games continue forever.
For which amounts of starting money will the games end with one player having all the money?

Show answer & extension

Doubling cribbage

Brendan and Adam are playing high stakes cribbage: whoever loses each game must double the other players money. For example, if Brendan has £3 and Adam has £4 then Brendan wins, they will have £6 and £1 respectively.
Adam wins the first game then loses the second game. They then notice that they each have £180. How much did each player start with?

Show answer & extension

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

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

Archive

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