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

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

Archive

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