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 

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

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

Archive

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