mscroggs.co.uk
mscroggs.co.uk

subscribe

Blog

 2026-04-20 
This is an article that I wrote for Chalkdust issue 23, and the new puzzle it introduces appears on the cover of issue 23.
In January, I paid a visit to MathsWorld, the recently opened maths discovery centre in London, alongside some other members of the Chalkdust team. One of the highlights of the trip was playing the two-player game Genius Square.
In Genius Square, you start with a six-by-six board and roll seven dice. These dice tell you where to place seven cylindrical blocks, for example:
The dice
The board with the cylinders placed and the pieces
The two players then race to fit the pieces shown above into the remaining space on the board. The pieces that the players have are the five tetrominoes, the two triominoes, a domino, and a single square (or monomino); these are all the shapes you can make by gluing together up to four squares (if rotations and reflections are considered the same shape).
If you want to ruin/improve your copy of Chalkdust, you could cut out the pieces shown above and try to fit them in the board to the left.
There's some clever design in this game: if, instead of rolling the dice, you were to randomly pick any set of seven spaces to place the cylinders, the puzzle is not guaranteed to have a solution. The locations printed on the dice have been carefully chosen so that any combination that you can roll leads to a solvable puzzle.

A puzzle-a-day

The Genius Square puzzle is similar to another rearrangement puzzle: the puzzle-a-day calendar, created by the Norwegian puzzle makers DragonFjord.
The puzzle-a-day board and pieces
In this puzzle, you are given the pieces below and asked to place them on the board to cover everything except today's date. For example, on 22 July, you could place the pieces like this:
A solution of puzzle-a-day for 22 July
DragonFjord make and sell wooden and plastic versions of puzzle-a-day, which you can buy from Maths Gear—who also provide the top prize for the crossnumber—to avoid the cost of shipping directly from Norway.
In puzzle-a-day, it's possible to arrange the pieces to make every single combination of a number and a month, including days that don't exist like 31 September and 30 February.
A solution of puzzle-a-day for 31 September?!
While we were considering options for the cover of this issue, we discussed putting something like Genius Square on the cover, and I began to wonder if it would be possible to make a puzzle like puzzle-a-day but where it was only possible to make days that actually appear on the calendar.

A new puzzle

After spending a while scribbling on squared paper and getting nowhere, I had an idea: I could put the months in regions that were disconnected from the day numbers. Then, by carefully choosing the shape of the month regions and the arrangement of the dates, I could force the solver to use different combinations of pieces on the day numbers for different months.
Once I'd had this idea, I threw together some Python code that could see which day numbers you could and couldn't leave uncovered with a set of pieces, and waited for it to find a good set of pieces. It found this board and these pieces:
The board and pieces for the new puzzle
As in Tetris, I've named the pieces after letters that they vaguely resemble.
In January, March, May, July, August, October and December, you have to use a P, an O and the A in the month regions. The remaining pieces can make any day from 1 to 31.
In April, June, September and November, you need to use the C, an O and the A in the month regions. This leaves pieces that can make any day from 1 to 30, but importantly can't make 31.
In February, you need to use both Os and the C in the month regions. This leaves pieces that can make any day from 1 to 29, but not 30 or 31.
Now all we need to do is find another new arrangement that somehow works differently in leap and non-leap years...
×1            ×1            
(Click on one of these icons to react to this blog post)

You might also enjoy...

Comments

Comments in green were written by me. Comments in blue were not written by me.
 Add a Comment 


I will only use your email address to reply to your comment (if a reply is needed).

Allowed HTML tags: <br> <a> <small> <b> <i> <s> <sup> <sub> <u> <spoiler> <ul> <ol> <li> <logo>
To prove you are not a spam bot, please type "v" then "e" then "c" then "t" then "o" then "r" in the box below (case sensitive):
 2025-12-04 
As usual, I spent some time this November, designing this year's Chalkdust puzzle Christmas card (with help from TD and Jacob).
The card contains 12 puzzles: 8 in the green section, and 4 in the red or yellow section. By colouring the two squares on the front of the card containing every pair of digits in each answer (eg if an answer in the green section were 3305, you would colour the squares containing 33, 30 and 05 green), you will reveal a Christmas themed picture.
If you're in the UK and want some copies of the card to send to your maths-loving friends, you can order them from my Ko-Fi shop.
If you want to try the card yourself, you can download this printable A4 pdf. Alternatively, you can find the puzzles below and type the answers in the boxes. The answers will automatically be used to colour in the appropriate squares.
×13      ×3      ×1      ×1      ×4
(Click on one of these icons to react to this blog post)

You might also enjoy...

Comments

Comments in green were written by me. Comments in blue were not written by me.
Will you be posting solutions? I have what is to me an acceptable answer but I think I might be missing a couple of squares
Ewan Leeming
                 Reply
@Ahmad: Nothing missing, it's written correctly
Matthew
   ×1              Reply
Is there “three-digit” missing from Q6
Ahmad
   ×1              Reply
Thanks again for an advent full of brain teasers. Merry Christmas!
Gert-Jan
×2                 Reply
@Matthew, small typo in todays example, bottom left string should be BBBA I feel.
Bob
                 Reply
 Add a Comment 


I will only use your email address to reply to your comment (if a reply is needed).

Allowed HTML tags: <br> <a> <small> <b> <i> <s> <sup> <sub> <u> <spoiler> <ul> <ol> <li> <logo>
To prove you are not a spam bot, please type "c" then "o" then "s" then "i" then "n" then "e" in the box below (case sensitive):
 2025-08-30 
This week, I've been at Talking Maths in Public (TMiP) at the University of Warwick in near Coventry. TMiP is a conference for anyone involved in—or interested in getting involved in—any sort of maths outreach, enrichment, or public engagement activity. It was really good, and I highly recommend coming to TMiP 2027... But as I'm one of the organisers, I'm a little biased.
The Saturday morning at TMiP was filled with a choice of activities, including a puzzle hunt written by me. At the start/end point of the puzzle hung, there was a locked box with a combination lock. In order to work out the combination for the lock, you needed to find some clues hidden around Coventry and solve a few puzzles.
Every team taking part was given a copy of these instructions. Some people attended TMiP virtually, so I also made a version of the puzzle hunt that included links to Google Street View and photos from which the necessary information could be obtained. You can have a go at this at mscroggs.co.uk/coventry-trail/remote. For anyone who wants to try the puzzles without searching through virtual Coventry, the numbers that you needed to find are:
The solutions to the puzzles and the final puzzle are below. If you want to try the puzzles for yourself, do that now before reading on.

Puzzle for clue #1

154 is equal to 50625. The hundreds digit of 154 is 6. The difference between the first and second digits of the code is the hundreds digit of \(15^a\) (ie 151931).

Show solution

Puzzle for clue #2

If you write the numbers from 1 to 10000 in a huge triangle like this:
... then 11 is written directly below 5. The second digit of the code is not the tens digit of the number written directly below \(b\) (ie directly below 1956).

Show solution

Puzzle for clue #3

The area of largest quadrilateral that fits inside a circle with area 2π is 4. The difference between the first and last digits of the code is the thousands digits of the area of the largest dodecagon that fits inside a circle with area \(c\)π (ie 1434π).

Show solution

Puzzle for clue #4

There are 10 dominoes that can be made using the numbers 0 to 3 (inclusive):
00
01
02
03
11
12
13
22
23
33
The sum of all the numbers on all these dominoes is 30.
The difference between the largest and smallest digits in the code is the units digit of the sum of all the numbers on all the dominoes that can be made using the numbers 0 to \(d\) (ie from 0 to 1949) (inclusive).

Show solution

Puzzle for clue #5

The number \(n\) has \(e\) digits (ie 1620 digits). All of its digits are 9. The last digit of the code is the hundreds digit of the sum of all the digits of \(n^2\).

Show solution

The final puzzle

The final puzzle involves using the answers to the five puzzles to find the four digit code that opens the box (and the physical locked box that was in the Transport Museum on Saturday.
The five clues to the final code are:

Show solution

      ×1                  
(Click on one of these icons to react to this blog post)

You might also enjoy...

Comments

Comments in green were written by me. Comments in blue were not written by me.
Great to do remotely, thanks! I think there is a typo in your solution for clue 4 although final answer is correct. Last sum prior to answer should read 1951 x 1/2 x 1949 x 1950 I think.
Lizzie
                 Reply
 Add a Comment 


I will only use your email address to reply to your comment (if a reply is needed).

Allowed HTML tags: <br> <a> <small> <b> <i> <s> <sup> <sub> <u> <spoiler> <ul> <ol> <li> <logo>
To prove you are not a spam bot, please type "y" then "-" then "a" then "x" then "i" then "s" in the box below (case sensitive):
 2025-03-17 
This is an article that I wrote for Chalkdust issue 21.
For ten years now, I've been setting the Chalkdust crossnumber. Over this time, I've developed a lot of tricks and tools for setting good puzzles.
Although puzzles involving words in grids of squares have been around since at least the 1800s, the first crossword (or word-cross as the author called it) puzzle was published in the New York World newspaper in 1913. Since this, crosswords have become a staple in newspapers and magazines around the world.
In the UK, cryptic crosswords were invented and grew in popularity in the 1900s and now appear in most newspapers and magazines. The cryptic crossword in the Listener magazine became infamous as the hardest such puzzle. the Listener ceased publication in 1991, but the Listener crossword still lives on and is now published on Saturdays in the Times newspaper.
Fun's word-cross puzzle, written by Arthur Wynne in 1913. Each clue gives the position of the first and last letters where the entry should be written. The puzzle features well-known words such as 'neif' and 'nard', and the solution includes 'dove' twice.
In early 2015, we were discussing ideas for regular content in our brand new maths magazine, and wanted to include a more mathematical crossword-style puzzle. Like Venus emerging from the shell, the crossnumber was born.
Of course, we didn't invent the crossnumber puzzle: the first known crossnumber puzzle was written by Henry Dudeney and published by Strand Magazine in 1926; four times a year, the Listener features a numerical puzzle; and the UKMT (United Kingdom Mathematics Trust) have included a crossnumber as part of their team challenge for many years. There are also plenty of other publications that include crossnumbers, including the very enjoyable Crossnumbers Quarterly, that's been publishing collections of the puzzles four times a year since 2016. But perhaps we'll be mentioned in a footnote in a book about the history of puzzles.
But anyway, we'd decided we needed a crossnumber, so I needed to write one...

Making a grid

The first step when creating a puzzle is to create the grid. Like many publications, we restrict ourselves to using grids of squares (for the main crossnumber at least---we allow more freedom in other puzzles that we feature).
Grids with order 2 (left) and order 4 (right) rotational symmetry.
Typically, a publication will impose some restrictions on the placement of the black squares in its puzzle. The most popular restrictions are:
Grids with one, two, and four lines of symmetry.
There are two forms of symmetry that are used in crossword grids: rotational symmetry and reflectional symmetry. Both order 2 (rotate the grid 180° and it looks the same) and order 4 (rotate the grid 90° and it looks the same) rotational symmetry are commonly used in crossword grids, with order 2 rotational symmetry often being the minimal allowable amount of symmetry. You'll want to be careful when making a grid with order 4 rotational symmetry, as it's very easy to make your grid into an accidental swastika.
The grid for crossnumber #14 experimented with translational symmetry.
With a few notable exceptions, the grids for the Chalkdust crossnumber have some form of symmetry, and also follow the other two restrictions. We do, however, allow some flexibility on these restrictions if it allows us to use an interesting grid. For crossnumber #14 (shown on the left), we experimented with translational symmetry, leading to a grid that was not simply connected and with a greater than usual proportion of black squares. For crossnumbers #11 and #6, the grids had a nice property: rotating the grid leads to the same pattern of squares with the colours inverted. Once again we had to break the requirements on connectedness and the proportion of black squares to do this.
The grid for crossnumber #11. Rotating this grid 90° leads to the same grid with inverted colours. This grid also has order 2 rotational symmetry.
The grid for crossnumber #6. Rotating this grid 180° leads to the same grid with inverted colours.
The grid for crossnumber #17 was not symmetric, and instead included all 18 pentominoes in black.
For crossnumber #17, we skipped imposing symmetry entirely and instead formed all 18 pentominoes from the black squares in the grid. This really pleased me, as there were clues in the puzzle related to the number of pentominoes and the number of black squares in the grid.
For American style crosswords, there's an additional restriction that is imposed: all white squares must be checked. A white square is called 'checked' if it is part of an across entry and a down entry---and so you can fill that square in by solving one of two different clues. Due to this, American crosswords will have large rectangles composed entirely of white squares and never have lines of alternating black and white squares as commonly seen in British puzzles.
A valid American crossword (if two letter entries were allowed
A valid British crossword that is not a valid American crossword
When writing a crossword, it is common to pick the words to include while making the grid, as trying to find valid words or phrases to fill a predetermined grid is a challenging task. (Thankfully, there's software out there that can help you make grids from a list of words.) For crossnumbers, filling the grid is a much easier task as any string of digits not starting with a zero is a valid entry. This ease of filling the grid is what allowed us to use the interesting restriction-breaking grids mentioned in this section.
For crosswords, it is also common to disallow the use of two-letter words. For the crossnumber, removing two-digit numbers would remove the potential for a lot of fun number puzzles, so we don't impose this restriction here. We allow two-letter words in the Chalkdust cryptic too, as they can be really useful when trying to make a grid with our additional restriction that the majority of the included words should be related to maths.

Setting the clues

Once I've made the grid for a crossnumber, the next task is to write the clues.
Often, I start this task by picking a fun mathematical or logic puzzle to include in the clues. Sometimes, this is a single clue, such as this one from crossnumber #1:

Down

6. This number's first digit tells you how many 0s are in this number, the second digit how many 1s, the third digit how many 2s, and so on. (10)
Or this clue from crossnumber #5:

Across

9. A number \(a\) such that the equation \(3x^2+ax+75\) has a repeated root. (2)
Other times, this could be a set of clues that refer to each other and reveal enough information to work out what one of the entries should be, such as these clues from crossnumber #10:

Across

13. 49A reversed. (3)
37. The difference between 49A and 13A. (3)
47. 37A reversed. (3)
48. The sum of 47A and 37A. (4)
49. Each digit of this number (except the first) is (strictly) less than the previous digit. (3)
Once I've included a few sets of clues like this, it's time to write the rest of the clues. As any crossnumber solvers will have noticed, my favourite type of clue to add from this point on is a clue that refers to another entry.
More recently, I've begun adding an additional mechanic to each crossnumber. This started in crossnumber #13, when all the clues involved two conditions which were joined by an and, or, xor, nand, nor or xnor connective. Mechanics in later puzzles have included the clues being given in a random order without clue numbers (#14), some clues being false (#16), and each clue being satisfied by both the entry and the entry reversed (#19). I really hope that you enjoy the 'fun' mechanic I used in this issue's puzzle.
Around the same time as I started playing with additional mechanics, my taste in puzzles shifted. Older crossnumbers had been quite computational, and often needed some programming for a few of the clues, but more recently I have become a greater fan of logic puzzles and number puzzles that can be solved by hand. To reflect the change in the type of puzzle I was setting we added the phrase 'but no programming should be necessary to solve the puzzle' to the instructions, starting with crossnumber #14.

Thinking like a mega-pedant

One of the most important things to watch out from when writing and checking clues is accidental ambiguity due to writing maths in words.
For example, the clue 'A factor of 6 more than 2D' could be read in two ways: this could be asking the solver to add 6 to 2D, then find a factor of the result; or it could be asking the solver to add 1, 2, 3, or 6 (ie a factor of 6) to 2D.
As long as I spot clues like this, it can usually be fixed with some rewording. In this example, I'd rewrite the clues as either '2D plus a factor of 6.' or 'This number is a factor of the sum of 6 and 2D.'
In my time setting the crossnumber, I've got a lot better at spotting ambiguity in clues, and do this by reading through the clues and trying to be a mega-pedant and intentionally misinterpret them. It can be really helpful to get someone else to help with this check though, as remembering what you intended to mean when writing a clue can make it hard to read them critically.

Checking uniqueness

Perhaps the most difficult part of setting a crossnumber is checking that there is exactly one solution to the completed puzzle.
To help with this task, I've written a load of Python code to help me find all the solutions to the puzzle. I run this a lot while writing clues to make sure there's no area of the puzzle where I've left multiple options for a digit. I intentionally use a lot of brute force in this code so that it's really good at catching situations where there are multiple answers to a puzzle where I only found one solution by hand.
Once I've got all the clues and my code says the solution is unique, I do a full solve of the puzzle by hand. This is both to confirm that the code's conclusion was not due to a bug, and to check that the difficulty of the puzzle is reasonable.
Following this checking, and a little proofreading, the puzzle is ready for publishing. Then the fun part begins, as I get to chill with a nice cup of tea and wait for people to submit their answers.
×8      ×1                  
(Click on one of these icons to react to this blog post)

You might also enjoy...

Comments

Comments in green were written by me. Comments in blue were not written by me.
 Add a Comment 


I will only use your email address to reply to your comment (if a reply is needed).

Allowed HTML tags: <br> <a> <small> <b> <i> <s> <sup> <sub> <u> <spoiler> <ul> <ol> <li> <logo>
To prove you are not a spam bot, please type "naidem" backwards in the box below (case sensitive):
 2024-12-04 
As usual, I spent some time this November, designing this year's Chalkdust puzzle Christmas card (with some help from TD).
The card contains 10 puzzles. By splitting the answers into pairs of digits, then drawing lines between the dots on the cover for each pair of digits (eg if an answer is 201304, draw a line from dot 20 to dot 13 and another line from dot 13 to dot 4), you will reveal a Christmas themed picture. Colouring any region containing an even number of unused dots green and colour any region containing an odd number of unused dots red or blue will make the picture even nicer.
If you're in the UK and want some copies of the card to send to your maths-loving friends, you can order them at mscroggs.co.uk/cards.
If you want to try the card yourself, you can download this printable A4 pdf. Alternatively, you can find the puzzles below and type the answers in the boxes. The answers will automatically be used to join the dots and the appropriate regions coloured in...
×11      ×11      ×5      ×7      ×6
(Click on one of these icons to react to this blog post)

You might also enjoy...

Comments

Comments in green were written by me. Comments in blue were not written by me.
I enjoyed solving problems for this card very much! Thanks a lot! I had a great time!
Happy New Year! Greetings from Ukraine.
Anna
                 Reply
Matt, great card this year! Problems 1 and 2 are slightly ambiguous though in that you did not specify that each digit could only be used once.

I initially thought the answers were simply 44×44 = 1936 and 99×99999999 = 9899999901, respectively ????
Dan Whitman
×1      ×1           Reply
I find that I can enter seven correct answers without issue. however, an eighth answer causes the entire tree to vanish.

I'm using Firefox on Windows 11.
hakon
                 Reply
@HJ: I can't reproduce that error on Firefox or Chrome on Ubuntu - although I did notice I'd left some debug outputting on, which I've now removed. Perhaps that was causing the issue.

If anyone else hits this issue, please let me know.
Matthew
            ×1     Reply
On my machine (Mac, using either Firefox or Chrome, including private mode so no plugins) the puzzle disappears when I complete the answers for 1, 3 and 9. I'm presuming my answers are correct -- the pattern they create is pretty clear and looks reasonable.
HJ
                 Reply
 Add a Comment 


I will only use your email address to reply to your comment (if a reply is needed).

Allowed HTML tags: <br> <a> <small> <b> <i> <s> <sup> <sub> <u> <spoiler> <ul> <ol> <li> <logo>
To prove you are not a spam bot, please type "y" then "-" then "a" then "x" then "i" then "s" in the box below (case sensitive):

Archive

Show me a random blog post
 2026 

May 2026

World Cup stickers 2026

Apr 2026

A new puzzle every day
Mixing Wordle with other games

Feb 2026

Christmas (2025) is over
 2025 

Dec 2025

Christmas card 2025

Nov 2025

Christmas (2025) is coming!

Sep 2025

The partridge puzzle

Aug 2025

TMiP 2025 puzzle hunt

Jun 2025

A nonogram alphabet

Mar 2025

How to write a crossnumber

Jan 2025

Christmas (2024) is over
Friendly squares
 2024 

Dec 2024

A regular expression Christmas puzzle
Christmas card 2024

Nov 2024

Christmas (2024) is coming!

Feb 2024

Zines, pt. 2

Jan 2024

Christmas (2023) is over
 2023 
▼ show ▼
 2022 
▼ show ▼
 2021 
▼ show ▼
 2020 
▼ show ▼
 2019 
▼ show ▼
 2018 
▼ show ▼
 2017 
▼ show ▼
 2016 
▼ show ▼
 2015 
▼ show ▼
 2014 
▼ show ▼
 2013 
▼ show ▼
 2012 
▼ show ▼

Tags

recursion cross stitch bodmas fence posts braiding trigonometry crossnumbers a gamut of games london plastic ratio weather station phd guest posts flexagons sobolev spaces craft platonic solids realhats go nine men's morris rugby tetris squares light coins computational complexity databet final fantasy edinburgh thirteen chebyshev correlation stirling numbers london underground interpolation youtube quadrilaterals graph theory machine learning dinosaurs noughts and crosses chalkdust magazine stickers christmas runge's phenomenon hyperbolic surfaces martin gardner mathsteroids data visualisation regular expressions exponential growth standard deviation tennis matt parker menace reddit national lottery wool triangles fractals live stream fonts coventry royal institution pizza cutting pokémon wordle arithmetic talking maths in public probability mathsjam error bars propositional calculus partridge puzzle php signorini conditions friendly squares convergence manchester bubble bobble polynomials rust gaussian elimination binary dragon curves frobel raspberry pi numerical analysis books speed inverse matrices bluesky mathslogicbot alphabets pac-man sorting christmas card folding paper pi arrangement puzzles video games hannah fry crossnumber crosswords graphs pi approximation day ucl people maths golden ratio preconditioning games approximation warwick pythagoras harriss spiral numbers data electromagnetic field hats puzzles matrices geogebra folding tube maps anscombe's quartet the aperiodical inline code misleading statistics palindromes advent calendar kings logs tmip datasaurus dozen pascal's triangle hexapawn bempp kenilworth dates football matrix of cofactors cambridge statistics finite group determinants royal baby gather town curvature oeis chess errors rhombicuboctahedron captain scarlet news zines game show probability newcastle sport logo turtles accuracy simultaneous equations gerry anderson logic wave scattering crochet javascript game of life golden spiral latex ternary dataset finite element method estimation reuleaux polygons big internet math-off sound wordle nonograms matrix of minors asteroids countdown map projections manchester science festival boundary element methods python radio 4 bots european cup weak imposition pokémon geometry world cup matrix multiplication mean draughts programming 24 hour maths

Archive

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