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 

Jun 2025

A nonogram alphabet

Mar 2025

How to write a crossnumber

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

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

Archive

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