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
 2026 

May 2026

World Cup stickers 2026

Apr 2026

A new puzzle every day
Mixing Wordle with other games

Feb 2026

Christmas (2025) is over
 2025 

Dec 2025

Christmas card 2025

Nov 2025

Christmas (2025) is coming!

Sep 2025

The partridge puzzle

Aug 2025

TMiP 2025 puzzle hunt

Jun 2025

A nonogram alphabet

Mar 2025

How to write a crossnumber

Jan 2025

Christmas (2024) is over
Friendly squares
 2024 

Dec 2024

A regular expression Christmas puzzle
Christmas card 2024

Nov 2024

Christmas (2024) is coming!

Feb 2024

Zines, pt. 2

Jan 2024

Christmas (2023) is over
 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

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

Archive

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