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

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

Archive

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