mscroggs.co.uk
mscroggs.co.uk

subscribe

Blog

 2021-01-03 

Christmas (2020) is over

Showing all comments about the post Christmas (2020) is over. To return to the blog post, click here.

Comments

Comments in green were written by me. Comments in blue were not written by me.
Dec 15th was my favorite. I kept making a logical error and had to restart, so it took me way to long, but I really enjoyed it.

The 16th was just cheeky, after I spent way to much time on the 15th it was nice to have something like that!

It's been 16+ years since I did any probability or combinations and permutations, so it was nice to brush off that part of my brain, not that I did any of them well, but it should serve me well when my kids start doing them and ask me for help.
Dave
×4   ×3   ×3   ×3   ×3     Reply
You can solve the Dec 21 puzzle using the principle of inclusion/exclusion:

-There are 6! total ways of arranging 6 numbers.
-Now we have to exclude the ones that don't fit. How many ways have 2 following 1? You can think of 12 as a pair, so you're arranging 12/3/4/5/6 in any order, so there are 5! ways to do this. And there are (5 choose 1)=5 total pairs that might exist, so there are 5*5! ways that have either 12, 23, 34, 45, or 56.
-Of course, we've double counted some that have more than one pair. (This is where inclusion/exclusion comes in, we have to include them back in). So how many have, say, 12 and 45? Well now we're arranging 12/3/45/6, so there are 4! ways to do so. There are (5 choose 2)=10 different pairs, so the double counting was 10*4!.
-We continue this on, and inclusion/exclusion says we keep alternating adding and subtracting as we add more pairs, so the answer is:
6!
- (5 choose 1) * 5!
+ (5 choose 2) * 4!
- (5 choose 3) * 3!
+ (5 choose 4) * 2!
- (5 choose 5) * 1!
= 309
Todd
×6   ×4   ×3   ×3   ×3     Reply
There seems to be a missing diagram for the answer to the Dec 2 puzzle.
Kai
×3   ×3   ×3   ×3        Reply
@(anonymous): Thanks, links corrected
Matthew
                 Reply
Messed up HTML. What I mean is sequence A000255 on OEIS.
(anonymous)
   ×4   ×2   ×2   ×2     Reply
Happy New Year, one and all!

I think your links point to last year’s calendar puzzles. As for how to solve the puzzle on 21 December, - permutations of [1,...,n+1] having no substring [k,k+1] - is an option.
(anonymous)
                 Reply
 Add a Comment 


I will only use your email address to reply to your comment (if a reply is needed).

Allowed HTML tags: <br> <a> <small> <b> <i> <s> <sup> <sub> <u> <spoiler> <ul> <ol> <li> <logo>
To prove you are not a spam bot, please type "segment" in the box below (case sensitive):

Archive

Show me a random blog post
 2026 

Feb 2026

Christmas (2025) is over
 2025 
▼ show ▼
 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

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

Archive

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