mscroggs.co.uk
mscroggs.co.uk

subscribe

Comment

Comments

Comments in green were written by me. Comments in blue were not written by me.
Wow. Just discovered I meisread 15th Dec puzzle.

I can tell you that the number of combinations of n As and Bs which contain at at least one uninterrupted sequence of 3 As is 2^n - F3(n+3) where F3 is the fibonaccia variant adding 3 numbers (1,1,2,4,7,13,24 etc.).
Only took me about 8 hours (with some small help form OEIS for the 2 As problem)
Neal (@zbvif)
on /blog/46
               

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

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

Archive

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