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

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

Archive

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