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
               

Archive

Show me a random blog post
 2025 

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

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

Archive

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