mscroggs.co.uk
mscroggs.co.uk

subscribe

Comment

Comments

Comments in green were written by me. Comments in blue were not written by me.
In attempting (and failing) to solve the puzzle when it first came out, I noticed that there were quite a few ways to colour the squares/place the kings for each minimum solution, some quite symmetrical and interesting. I wondered how many such "colourings" existed for each size of grid. And so because I apparently had nothing better to do over the weekend, I invested an inordinate amount of time coding up a script to bruteforce the number of colourings, and then a similarly inordinate amount of time optimizing it so I could get past a 5x5 grid. Here are the results:

2x2: 6
3x3: 2
4x4: 1296
5x5: 371
6x6: 8

Haven't been able to go any farther with my current script, but for what it's worth, here it is on GitHub.
Aaron
on /blog/114
   ×1            

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

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

Archive

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