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

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

Archive

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