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

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

Archive

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