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

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

Archive

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