mscroggs.co.uk
mscroggs.co.uk

subscribe

Comment

Comments

Comments in green were written by me. Comments in blue were not written by me.
@Aisha: Thanks! I did think of that originally but even going back now I can’t seem to find a neat way to apply that approach (and even the OEIS doesn’t seem to give one for the sequence I get solving this for smaller cases). Would be interested to know how you went about this! As it happens, with a bit more thought I did end up finding a single (double-summation) formula that could be used to calculate this
Blake
on /blog/120
               

Archive

Show me a random blog post
 2026 

Feb 2026

Christmas (2025) is over
 2025 
▼ show ▼
 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

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

Archive

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