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

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

Archive

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