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

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

Archive

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