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

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

Archive

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