mscroggs.co.uk
mscroggs.co.uk

subscribe

Comment

Comments

Comments in green were written by me. Comments in blue were not written by me.
@selina
Good instinct to start with smaller variants of the problem and working your way up.

You've chosen a perhaps confusing way of directly tackling the big length=14 problem, by partitioning it as "how big is the set of 14-digit numbers with exactly that many 2s".

Note that you can start smaller and simpler, by just considering shorter-length numbers first.

As you work the shorter examples, you may see a pattern in construction, or a pattern in the numbers. Either intuition will help you.
Dr Matrix
on /blog/97
×2   ×1   ×1   ×1   ×1   

Archive

Show me a random blog post
 2025 

Jun 2025

A nonogram alphabet

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

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

Archive

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