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

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

Archive

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