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
 2025 

Mar 2025

How to write a crossnumber

Jan 2025

Christmas (2024) is over
Friendly squares
 2024 
▼ show ▼
 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

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

Archive

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