mscroggs.co.uk
mscroggs.co.uk

subscribe

Blog

 2023-11-22 

Christmas (2023) is coming!

Showing all comments about the post Christmas (2023) is coming!. To return to the blog post, click here.

Comments

Comments in green were written by me. Comments in blue were not written by me.
Thank you Matthew. 23rd was my favourite puzzle as the cuisenaire rods helped me and I worked with my son to get a final answer. Happy New Year.
Jenny
   ×1   ×2   ×1   ×1     Reply
loving the new and harder types of puzzles this year :)
V
   ×1   ×1   ×3   ×3     Reply
@Seth Cohen: Even with those hints I just can't seem to get this one!
Steve
×6   ×6   ×6   ×6   ×6     Reply
I really like 22, and will be using it with my top set Year 10s when I do circle theorems next term :)
Artie Smith
×7   ×6   ×6   ×7   ×6     Reply
I love doing your puzzles, your advent ones as well as the Chalkdust Crossnumbers - thank you!
Merrilyn
×9   ×8   ×8   ×8   ×8     Reply
I solved the puzzles but I think I had to ignore Clue 17 for it: wondering why Clue 17 is false, as it doesn't match the criterion given by Clue 9?
Shreevatsa
×2   ×2   ×2   ×1   ×1     Reply
Thanks for another super fun holiday math puzzle! I look forward to this every year!
Kristen
×1                 Reply
@Ryan: Got it! I like your method -- just keep eliminating square numbers until you're left with what you need.

I still wanted to figure out why my original method was wrong. And it finally dawned on me:
My mistake was not realizing that my answer of 241 was just a lower bound. The value of n needed to be AT LEAST 241, because my analysis said that 241 needed to be divided out. But any number >241 would also do the job of dividing out 241. So I needed to think about higher numbers too.
Seth Cohen
×1   ×2   ×1   ×1   ×1     Reply
Another great puzzle, Matthew, thank you!
David Walbert
×1                 Reply
@(anonymous): Hi Seth, sorry, I forgot to put my name on my post. I hope it was useful!
Ryan
                 Reply
@Seth Cohen: Hi Seth,

Your analysis about the multiplicity on primes under 250 is key.

One other thing that helped me is I wrote out '500! x 499! x 498! x 497! x ... x 2! x 1!', stared at it, played with different ideas, and eventually saw that I could rewrite it by grouping together pairs of factorials, which I'll detail in the next paragraph.

I was thinking about how to group that expression into squares, and I eventually lucked out and saw I could do this rewrite: 500! x 499! x 498! x 497! x ... x 2! x 1! = 500 x (499!)^2 x 498 x (497!)^2 x ... x 2 x (1!)^2. This opened up the floodgates for me. I was able to find *an* answer for n. I then used the same analysis you proposed and proved it was the *smallest* answer for n. I hope this helps!
(anonymous)
×1                 Reply
@Jessica Marsh: it's also at most the 9th year as I've only been doing it for 9 years!
Matthew
                 Reply
(Oops, forgot to put my name in the comment about puzzle 12.) My thoughts for puzzle 12 are below, covered up:

I thought about prime factors. For the full expression to be a square, all prime factors need to appear an even number of times. So to find n, I can see what prime factors in the numerator appear an odd number of times, and divide them out.

Looking at the prime numbers less than 500, any that are >=250 will appear an even number of times in the numerator. For example, 251 will appear in the 251! term, the 252! term, all the way up to the 500! term. That's 250 appearances, which is an even number.

But what about less than 250? Let's look at 241. That will appear in 241! up to 500! (260 times), but it will also appear in 482! up to 500! (19 times), because 482=241*2. So 241 appears 260+19=279 times, which is an odd number. So 241 needs to be divided out. Likewise with numbers less than 241, like 239. I didn't count the number of appearances of all numbers below 241, but I figured that if n=241, the denominator being 241! will divide out all the numbers that need to be divided out. But that didn't work.

So what am I missing? Any hint would be appreciated! Thanks!
Seth Cohen
                 Reply
The only puzzle I haven't been able to solve is 12, though I was able to get the final solution without that one because I was close enough that it was just a guess between two options. But I want to solve 12! I thought I had the critical idea, but my answer was wrong. Maybe I could get a hint? I'd love to do a spoiler tag here to explain my original thinking, but I'm not sure how to do that...maybe I'll try a couple things below.
test
(anonymous)
                 Reply
I think this is at least my 9th year solving the math(s) advent calendar, and as always I enjoyed it a lot! Thanks so much, Matthew!
Jessica Marsh
×1                 Reply
Really enjoyed this years puzzles, Matt! 12 and 14 were favorites as well as the logic "meta-puzzle".
Don
×1                 Reply
Thanks for another great year Matt! I agree about the step up in difficulty. I found the final logic puzzle, in particular, very difficult, and definitely got frustrated at times! I even tried to resort to a brute force solution in Python since there are only 10,000 possible solutions, but there's a trap baked in related to the clues referencing themselves that made this not work out for me! In the end, I ended up solving it using good old manual reasoning with a bit of trial and error :-)
Dan
×2                 Reply
I agree, this year was a step up in difficulty, which I quite enjoyed! My favorites this year: 2, 12, 16, 21, 22, 23.

Thanks for another great advent calendar, Matthew!
Ryan
×1                 Reply
This year felt much more difficult than previous years. Definitely not complaining, especially with how day 23 felt completely impossible until it wasn't -- that feeling is why I love these sorts of puzzles. Cheers!
Eric
×2         ×5   ×5     Reply
@Aaron: Wow thank you Aaron, that was just the idea I needed. Very fun.
Reza
×3   ×3   ×3   ×3   ×3     Reply
@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
×4   ×1   ×2   ×2   ×2     Reply
I would appreciate a hint for puzzle 23. I am struggling to derive a recurrence relation or formula. How to find the pattern for number of ways?
Reza
×1   ×1   ×1   ×1   ×1     Reply
Thanks again Matthew. It was great fun.
Gert-Jan
×2   ×1   ×1   ×1   ×1     Reply
My favourite so far of all your advents, a good mix of the trivial and the tricky - day 12 took me far too long until the answer came to me!
Colin Brockley
×2   ×1   ×1   ×1   ×1     Reply
Thanks Scroggs!
Bolt
×2   ×1   ×1   ×1   ×1     Reply
Wonderful fun as always. Some fiendish ones this year!
Joe Gage
×4   ×1   ×1   ×1   ×1     Reply
I've just completed all the puzzles in the mscroggs.co.uk Advent calendar! My favourite puzzle was the function inequalities.
Deborah Tayler
×2   ×1   ×1   ×1   ×1     Reply
This year's puzzle was a roller coaster unlike last year's. Do not assume anything is true except what can be deduced. Can't wait to see what tomorrow's clue is.
Aaron
×1   ×1   ×1   ×1   ×1     Reply
Whoaaaa just saw the clue for the 24th. This is gonna be fun to unpack! Definitely a step up from previous years!

Thanks @Matthew: and @Allan Taylor: for the tips!
Seth Cohen
×4   ×4   ×4   ×4   ×4     Reply
@Seth Cohen: Consider a truth table covering the four T/F combinations. Which one is consistent?

This clue is a really clever anchor for establishing some truths (I mean, could you trust a clue that says "x clue is true"?). The single consistent solution is really clever. Thanks Matthew, this was a fun challenge.
Allan Taylor
×3   ×2   ×2   ×2   ×2     Reply
@Seth Cohen: I made it give you some clues as to which are incorrect to make the search easier, which should speed up the checking a lot. You can also refresh a couple of times to get a few clues.
Matthew
×2   ×1   ×2   ×2   ×2     Reply
Hey Matthew. I have a request. I know that, after we enter 24 answers, it says below the grid if they're all correct. I'm wondering if might be possible for that message to say WHICH answers are wrong, if any. If we have any wrong, it's not hard for us to suss out which ones are wrong: just go to a day, change the answer for that day, and see if the count of incorrect answers changes. That's not hard to do, but it's tedious. So I figured I'd check if the message could do that work for us. No problem if not, but figured I'd ask!

PS. Trying to wrap my head around the clue on the 23rd. Its logic is messing with my brain.
Seth Cohen
×1   ×2   ×1   ×1   ×1     Reply
@Robert Brady: As day 9 suggests, not all the clues are necessarily true. The final three clues should help clear this up...
Matthew
×2   ×4   ×2   ×2   ×2     Reply
9, 16 and 17 seem to give contradictory clues, perhaps 17's clue should have 'or' instead of 'and' ?
Robert Brady
×1   ×1   ×1   ×1   ×1     Reply
The clue for today's puzzle just made everything make way more sense.
Seth Cohen
×1   ×3   ×1   ×1   ×1     Reply
Looking forward to it, as always!
Tony Mann
×2   ×1   ×1   ×1   ×1     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 "y" then "-" then "a" then "x" then "i" then "s" in the box below (case sensitive):

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

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

Archive

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