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 

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

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

Archive

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