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

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

Archive

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