mscroggs.co.uk
mscroggs.co.uk

subscribe

Comment

Comments

Comments in green were written by me. Comments in blue were not written by me.
@Reza:

I didn't use a recurrence. When dividing into three areas, one of the the lines must span the entire grid creating two areas. Then one more line is used to split one of the just created areas into three areas. I just figured out how many ways there are to place the first line, then how many ways there are to place the second. There are two main scenarios you need to deal with:
1) Two horizontal or vertical lines
2) One horizontal and one vertical line

Hope that helps
Aaron
on /blog/107
×4   ×1   ×2   ×2   ×2   
@Aaron: Wow thank you Aaron, that was just the idea I needed. Very fun.
Reza
on /blog/107
×3   ×3   ×3   ×3   ×3   

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

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

Archive

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