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

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

Archive

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