mscroggs.co.uk
mscroggs.co.uk
Click here to win prizes by solving the mscroggs.co.uk puzzle Advent calendar.
Click here to win prizes by solving the mscroggs.co.uk puzzle Advent calendar.

subscribe

Welcome to mscroggs.co.uk

This year's puzzle Christmas cards are currently on sale in my Ko-Fi shop.
The next door (door 1) will open in approximately 109 hours and 42 minutes.
19
23
2
9
14
20
1
11
13
8
10
7
18
25
3
12
5
24
4
21
17
22
15
16
6
19
23
2
9
14
20
1
11
13
8
10
7
18
25
3
12
5
24
4
21
17
22
15
16
6
Enter your email address here to be emailed a magic link to synchronise your answers across mutiple computers:
This email address will only be used to email you this code. If you'd like me to email you more, you can subscribe here.
It's nearly Christmas and something terrible has happened: Santa has run out of the magic oil that he rubs into his reindeer's fur to make them aerodynamic enough to fly. You need to help Santa work out the recipe for the oil so that he can make more then deliver presents before Christmas is ruined for everyone.
To make more magic oil, Santa needs to mix all six of the oil's ingredients in the exact ratio. Santa's lab has equipment to measure exact amounts of all the ingredients in millilitres, so you need to give Santa the correct ratio of volumes. The recipe for magic oil was passed down through many generations of elves, and five elves (Dre, Bule, Gerano, Nerge and Lupper) living in a nearby town each have an incomplete recipe – but each elf's recipe produces a different volume of magic oil and each elf's recipe was written using different units, and they're not all units of volume. Behind the first 24 doors on the Advent calendar, there are puzzles with three-digit answers. Each of these answers forms part of a piece of information that one of the elves tells you: you need to use this information to work out what ratio of volumes to mix the ingredients in.
You can use this page to try mixing oil ingredients, but you can only try mixing three times per day (or Rudolph will get annoyed about having too much oil in his fur).
Ten randomly selected people who solve all the puzzles, made some magic oil, and fill in the entry form behind the door on the 25th will win prizes!
The prizes will include an mscroggs.co.uk Advent 2026 T-shirt. If you'd like one of the T-shirts from a previous Advent, they are available to order at merch.mscroggs.co.uk.
The winners will be randomly chosen from all those who submit the entry form before the end of 2026. Each day's puzzle (and the entry form on Christmas Day) will be available from 5:00am GMT. But as the winners will be selected randomly, there's no need to get up at 5am on Christmas Day to enter!
You can find more information about this competition in this blog post. If you'd like to chat with other solvers, we'll be discussing the Advent Calendar in the #scroggs-advent-calendar channel in the Finite Group Discord: you can join the Discord by following the link in this post on Patreon (you'll need to become a free member on Patreon to unlock the post).
On this website, you can find my blog and a collection of puzzles. You can also find details of my academic work and information about pop maths and outreach talks that I give. You can use this handy tool to help you decide what to do first.
 Blog 
Recent blogs (click to read).
My most recent blog post is Christmas (2026) is coming!. Other highlights of the blog include:
If you're not sure where to start, you could try reading a random article or taking a suggestion from this handy tool.

 Puzzles 
Recent puzzles (click to read).
New puzzles are posted on occasional Sundays, with answers posted on Monday. The most recent collection is Advent calendar 2025.
Some of my favourite puzzles are:
Every December, I post an Advent calendar full of puzzles. You can view the puzzles from the 2025 calendar here. You can view this year's Advent calendar by scrolling up.
Again, a random puzzle or a suggestion from this handy tool could be good places to start.

 Who am I? 
My face.
I am Matthew Scroggs. I like maths.
I am currently a Senior Research Software Engineer at University College London. My academic work includes work on finite element methods and boundary element methods, including development of the open source libraries Bempp and FEniCSx. You can find more about my work on the academic page.
I help to organise King's Lynn MathsJam (monthly), MathsJam Gathering (yearly), and Electromagnetic Field (every two years). I write the crossnumber (as Humbug), puzzles, and articles for Chalkdust Magazine. I help to run Clopen Mic Night and 24 Hour Maths, and am a generator of Finite Group. For more non-work related articles and talks, see the talks page.
If you would like to reuse any of my content, please get in touch.
If you want to support this website's (and my) continued existence, you can:
No large language models or other AI tools were used to create this website or any of its content.

Some numbers

 I have written 127 blog posts.
 I have posted 439 puzzles.
 I have published 13 papers
(and submitted 2 more)
.
 I have written 2 issues of Puzzlebug.
 I have 154 public repositories on GitHub.
 I have 2 public repositories on Codeberg.
 I have contributed 23 sequences to the OEIS.
 I have written 2 LaTeΧ packages.
 I have designed 2 calendars.
 I have solved 122 problems on Project Euler. (!)
 I have run 176 parkruns.
 I have run 18 half marathons, and 1 marathon.
 I hold 2 speedrun world records.
 My Erdős number is 5.
 My Bacon number is ∞.
 My Sabbath number is ∞.
 My Erdős–Bacon number is ∞.
 My Erdős–Bacon–Sabbath number is ∞.

Follow me

 @mscroggs.co.uk
 @mscroggs@mathstodon.xyz
 @scroggs and @scroggs2
 subscribe

Support me

 donate or buy something on Ko-Fi
 join Finite Group
 buy merch
© Matthew Scroggs 2012–2026