Uploaded July 2020 | Updated September 2026, 2 weeks ago
Check out the meta-solution on 3Blue1Brown: youtube.com/watch?v=wTJI_WuZSwE
Thanks to Gordon' s Wine Bar for letting us film in their bar. Ha! It wasn't a dungeon, it was a wine bar all along! (An amazing wine bar at that; definitely visit it next time you're in London (and things are open again)). gordonswinebar.com
Also: this was filmed back in February 2020 pre-coronavirus (at least before we knew about it). Which is why we're sat so close together and not wearing masks. And people are phoning a wine bar.
For those of you want it all, and you want it now, we've put the complete, unedited footage of Matt and Grant completing the puzzle scenario on Matt's second channel.
youtube.com/watch?v=CEDZyK8UL6M
We'll put the deleted footage on the Stand-up Maths patreon page: patreon.com/posts/39003911
Sorry the audio is a bit hit and miss. Matt's microphone dropped out for a bit so we tried to rescue the audio from Grant's lapel mic. With some success.
Puzzle as emailed by Grant to Matt:
Prisoner 1 walks in, sees a chessboard where each square has a coin on top, flipped either to heads or tails. The warden places the key under one of the squares, which prisoner 1 sees. Before he leaves, he must turn over one and only one coin. Prisoner 2 then walks in and is supposed to be able to figure out which squares the key is in just by looking at the arrangement of coins.
This is the website Matt mentioned with a full breakdown of the solution and interactive boards you can play with.
datagenetics.com/blog/december12014/index.html
CORRECTIONS:
- At 20:42 when I (Matt) said "You're now assigning a 64-dimension..." he meant to say "You're now assigning a 6-dimension...". But that is a moot point because Grant can visualise cubes in all dimension spaces with equal ease.
- At 24:20 I said Venn and Euler the wrong way around. No one tell Steve Mould!
- Let me know if you spot anything else.
Thanks again, as always, for Jane Street being my principal sponsor.
janestreet.com
Thanks to my Patreon supporters who help make these videos possible. Here is a random subset:
Willy Felton
Claire Carroll
Matt Langford
Steve Davidson
James Dexter
Stephen Hart
Philippe von Bergen
Alex Frieder
Eric Sexton
Matthew Schuster
Support my channel and I can make more maths videos:
patreon.com/standupmaths
Filming and editing by Alex Genn-Bash
Music by Howard Carter
Design by Simon Wright and Adam Robinson
MATT PARKER: Stand-up Mathematician
Website: standupmaths.com
Maths book: wwwh.umble-pi.com
Nerdy maths toys: mathsgear.co.uk
Check out the meta-solution on 3Blue1Brown: youtube.com/watch?v=wTJI_WuZSwE
Thanks to Gordon' s Wine Bar for letting us film in their bar. Ha! It wasn't a dungeon, it was a wine bar all along! (An amazing wine bar at that; definitely visit it next time you're in London (and things are open again)). gordonswinebar.com
Also: this was filmed back in February 2020 pre-coronavirus (at least before we knew about it). Which is why we're sat so close together and not wearing masks. And people are phoning a wine bar.
For those of you want it all, and you want it now, we've put the complete, unedited footage of Matt and Grant completing the puzzle scenario on Matt's second channel.
youtube.com/watch?v=CEDZyK8UL6M
We'll put the deleted footage on the Stand-up Maths patreon page: patreon.com/posts/39003911
Sorry the audio is a bit hit and miss. Matt's microphone dropped out for a bit so we tried to rescue the audio from Grant's lapel mic. With some success.
Puzzle as emailed by Grant to Matt:
Prisoner 1 walks in, sees a chessboard where each square has a coin on top, flipped either to heads or tails. The warden places the key under one of the squares, which prisoner 1 sees. Before he leaves, he must turn over one and only one coin. Prisoner 2 then walks in and is supposed to be able to figure out which squares the key is in just by looking at the arrangement of coins.
This is the website Matt mentioned with a full breakdown of the solution and interactive boards you can play with.
datagenetics.com/blog/december12014/index.html
CORRECTIONS:
- At 20:42 when I (Matt) said "You're now assigning a 64-dimension..." he meant to say "You're now assigning a 6-dimension...". But that is a moot point because Grant can visualise cubes in all dimension spaces with equal ease.
- At 24:20 I said Venn and Euler the wrong way around. No one tell Steve Mould!
- Let me know if you spot anything else.
Thanks again, as always, for Jane Street being my principal sponsor.
janestreet.com
Thanks to my Patreon supporters who help make these videos possible. Here is a random subset:
Willy Felton
Claire Carroll
Matt Langford
Steve Davidson
James Dexter
Stephen Hart
Philippe von Bergen
Alex Frieder
Eric Sexton
Matthew Schuster
Support my channel and I can make more maths videos:
patreon.com/standupmaths
Filming and editing by Alex Genn-Bash
Music by Howard Carter
Design by Simon Wright and Adam Robinson
MATT PARKER: Stand-up Mathematician
Website: standupmaths.com
Maths book: wwwh.umble-pi.com
Nerdy maths toys: mathsgear.co.uk
![Recursive PowerPoint Presentations [Gone Fractal!]
Thanks to Steve Mould for filming with me. Check out his How viruses self assemble video.
https://youtu.be/3X6qEE2fHvE
We have since made the t-shirt Im wearing available for purchase:
https://fotsn.teemill.com/collection/recursive-t-shirt/
We have some free teaching resources for anyone who wants to make a large collaborative fractal! As well as complicated 3D ones weve made a new Think Maths low-prep giant Sierpinski triangle guide.
http://think-maths.co.uk/standupmaths-videos?yt-PPT-fractals#PPT-fractals
The second channel video takes a closer look at the pptx file and the details of what version of PowerPoint you need to make this work.
https://youtu.be/5Mltw6cTb-s
Tom Wildenhain has since made far more successful PowerPoint fractals than Steve and I were anywhere near.
https://youtu.be/O8l_awjgoMI
If you want to see the live An Evening of Unnecessary Detail show: its once a month in London.
https://festivalofthespokennerd.com/show/an-evening-of-unnecessary-detail/
Some technical details about the Cantor Set.
http://mathworld.wolfram.com/CantorSet.html
CORRECTIONS
- Nothing yet. Let me know if you spot anything!
Thanks to my Patreon supports who do support these videos and make them possible. Here is a random subset:
Simon Hutchings
Philippe von Bergen
Richard Fourie
Alan Flett
James Tanner
Support my channel and I can make more maths videos:
https://www.patreon.com/standupmaths
Filming and editing by Trunkman Productions: http://trunkman.co.uk
Sound production by Peter Doggart
Music by Howard Carter
Design by Simon Wright
MATT PARKER: Stand-up Mathematician
Website: http://standupmaths.com/
Maths book: http://wwwh.umble-pi.com
Nerdy maths toys: http://mathsgear.co.uk/ Recursive PowerPoint Presentations [Gone Fractal!]](https://i.ytimg.com/vi/b-Fa6HtvGtQ/mqdefault.jpg)





![Someone improved my code by 40,832,277,770%
YES, the improvement should be 40,832,277,770%, not what I say in the video. The 408,322,778 multiple was correct and I did the percentage the wrong way. There will not be a follow-up video to correct that.
The improvement was to my code from this video: https://www.youtube.com/watch?v AfhLQfb6w
This is episode 038 of the A Problem Squared podcast which started it all: https://aproblemsquared.libsyn.com/038-fldxt-in-wordle-and-improv-tact-hurdle
Here is Benjamin Paaßens full grid of all results and techniques used. It also has links to all the code as well. https://docs.google.com/spreadsheets/d/11sUBkPSEhbGx2K8ah6WbGV62P8ii5l5vVeMpkzk17PI/edit#gid=0
The article by encody I mentioned: https://medium.com/geeklaunch/how-to-speed-up-your-code-224-444-739-using-graphs-cc37dc395c0c
This is the reverse-frequency alphabet. Which is frequency in words, not in use (which would allow for frequency of word use; this list counts each word once).
QXJZVFWBKGPMHDCYTLNUROISEA
And whynot, a whole bunch of code. All of it is better than mine. All of it. (Even if you ran it all sequentially.)
Benjamin Paassen [bpaassen]
https://gitlab.com/bpaassen/five_clique
Sylvester Hesp [oisyn]
https://github.com/oisyn/parkerwords
Phire [phire]
https://github.com/phire/five_clique
Neil Coffey [neilcoffey]
https://github.com/neilcoffey/FunStuff/tree/main/WordleFiveWordFinder
Richard Ebeling [He3lixxx]
https://github.com/He3lixxx/five-words-five-letters
Phillip Alday [palday]
https://github.com/palday/FiveLetterWorda.jl
Diggory Blake [Diggsey]
https://github.com/Diggsey/five_words/tree/master
Orson Peters [orlp]
https://github.com/orlp/matt-parker-five-letter-clique/blob/master/src/main.rs
Bryan Redd [ae6nr]
https://github.com/ae6nr/25letters
Pablo Yaggi [pyaggi]
https://github.com/pyaggi/WordStats
Leonardo Taglialegne [miniBill]
https://github.com/miniBill/parkerrust
Nathan Baulch [NathanBaulch]
https://gist.github.com/NathanBaulch/cc26755dc89685fa209bf958e484c60d
Stefan Pochmann [pochmann]
https://replit.com/@pochmann/5words538?v=1
Jacob [encody]
https://github.com/encody/jotto-problem
Gé Weijers [gweijers]
https://github.com/gweijers/wordle_cover
David A. Dalrymple [davidad]
https://github.com/davidad/five-letters
Alex Recuenco [recuenco_alex]
https://github.com/alexrecuenco/five_clique
Kristin Paget [KristinPaget]
https://github.com/kristinpaget/fivewords
Ilya Nikolaevsky [IlyaNikolaevsky]
https://github.com/ilyanikolaevsky/five_words
Cheers to my Patreons for helping enable these videos. Without them test running all that code Id never know how much better an iPad is than me. Im sure Ill need Patreon help again soon; you can join the team here: https://www.patreon.com/standupmaths
CORRECTIONS
- Ha, I got the percentage around the wrong way. Should be 40,832,277,770% better.
- Yes, I missed the binary digit for the A in BREAD and everyone in the live premier chat noticed. Sorry about that. 🍞
- Let me know if you spot any other mistakes!
Filming and editing by Alex Genn-Bash
Some graphics by Benjamin Paaßen
Written and performed by Matt 32 days later Parker
Music by Howard Carter
Design by Simon Wright and Adam Robinson Someone improved my code by 40,832,277,770%](https://i.ytimg.com/vi/c33AZBnRHks/mqdefault.jpg)



