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

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

Archive

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