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 

May 2026

World Cup stickers 2026

Apr 2026

A new puzzle every day
Mixing Wordle with other games

Feb 2026

Christmas (2025) is over
 2025 

Dec 2025

Christmas card 2025

Nov 2025

Christmas (2025) is coming!

Sep 2025

The partridge puzzle

Aug 2025

TMiP 2025 puzzle hunt

Jun 2025

A nonogram alphabet

Mar 2025

How to write a crossnumber

Jan 2025

Christmas (2024) is over
Friendly squares
 2024 

Dec 2024

A regular expression Christmas puzzle
Christmas card 2024

Nov 2024

Christmas (2024) is coming!

Feb 2024

Zines, pt. 2

Jan 2024

Christmas (2023) is over
 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

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

Archive

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