mscroggs.co.uk
mscroggs.co.uk

subscribe

Comment

Comments

Comments in green were written by me. Comments in blue were not written by me.
I was inspired by Matt Parker's video, and began, in true Parker Style, with some terrible Python. I got a few solutions, but I decided that a C++ solver would give me better speed, and be worth the port effort.

That was doing OK, churning out solutions still not especially fast, but making progress, until I hit a power outage, disrupting my brute force for loop.

I let things lie dormant for a month or so, and then decided to pull an AI Coding assistant in, who helped me build in a "start from here" feature into my C++ solver, and then pushed solutions to a SQLite database.

I verified the 1,730,280 solution count with my own solver - nice to have the zip file to compare against!

I did my own categorization of the solutions, inspired by Matt Parker's claims in his video, getting the following numbers:

L-shaped: 74,624
I (edge-flush): 1,299,744
I (interior): 3,840
Other: 352,072

I was surprised to find that there's exactly one position for an "interior" I cross-bar (up to rotations).

Fun puzzle!
Dave LeCompte
on /blog/119
               

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

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

Archive

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