mscroggs.co.uk
mscroggs.co.uk
Click here to win prizes by solving the mscroggs.co.uk puzzle Advent calendar.
Click here to win prizes by solving the mscroggs.co.uk puzzle Advent calendar.

subscribe

Comment

Comments

Comments in green were written by me. Comments in blue were not written by me.
(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
on /blog/107
               
@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
 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

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

Archive

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