mscroggs.co.uk
mscroggs.co.uk

subscribe

Comment

Comments

Comments in green were written by me. Comments in blue were not written by me.
@Blake: It's actually not that many different parts. I did it in a spreadsheet, and there were 30 things to calculate. But once I figured out how they should be organized and calculated, each one was very quick.
(anonymous)
on /blog/120
               
@(anonymous): It’s certainly do-able, but whereas I was able to find a single simple summation formula for the day that asked for no odd consecutive amounts, this one has eluded me so just wondering if an elegant approach does exist
Blake
on /blog/120
               
@Blake: there is an elegant solution but it is very different from day 14. If a small hint is allowed:

recurrence relations!
Aisha
on /blog/120
               
@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
               
@Aisha: Hm, I used exactly the same method for both of these days. I'm not sure if it lends itself to a nice clean formula, but it might! I'll share my approach after the contest is over!
Seth Cohen
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

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

Archive

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