mscroggs.co.uk
mscroggs.co.uk

subscribe

Comment

Comments

Comments in green were written by me. Comments in blue were not written by me.
I would appreciate a hint for puzzle 23. I am struggling to derive a recurrence relation or formula. How to find the pattern for number of ways?
Reza
on /blog/107
×1   ×1   ×1   ×1   ×1   
@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
 2026 

Feb 2026

Christmas (2025) is over
 2025 
▼ show ▼
 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

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

Archive

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