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
 2025 

Mar 2025

How to write a crossnumber

Jan 2025

Christmas (2024) is over
Friendly squares
 2024 
▼ show ▼
 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

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

Archive

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