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
 2025 

Jan 2025

Christmas (2024) is over
Friendly squares
 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

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

Archive

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