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

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

Archive

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