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

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

Archive

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