mscroggs.co.uk
mscroggs.co.uk

subscribe

Comment

Comments

Comments in green were written by me. Comments in blue were not written by me.
@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)
on /blog/107
×1               
@(anonymous): Hi Seth, sorry, I forgot to put my name on my post. I hope it was useful!
Ryan
on /blog/107
               
@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
on /blog/107
×1   ×2   ×1   ×1   ×1   
@Seth Cohen: Even with those hints I just can't seem to get this one!
Steve
on /blog/107
×6   ×6   ×6   ×6   ×6   

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

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

Archive

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