mscroggs.co.uk
mscroggs.co.uk

subscribe

Comment

Comments

Comments in green were written by me. Comments in blue were not written by me.
@(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

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

Archive

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