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

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

Archive

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