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

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

Archive

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