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

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

Archive

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