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

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

Archive

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