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

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

Archive

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