Handmade Hero has only been going on for 151 days, the Episode Guide is filling up apace with annotations, and I have finally finally started to put some of Casey's teachings – the philosophical overtones of that word being not too far off the mark – into practice. For, some of the folks from the HMH Community have introduced me to Project Euler, which is essentially an ever-expanding collection of mathematical problems for us to solve however we wish, and I am attempting to solve them by writing computer programs written in C. Thus far I've solved the first two problems and am currently working on the third:
Largest prime factor
The prime factors of 13195 are 5, 7, 13 and 29.
What is the largest prime factor of the number 600851475143 ?
I have a rough idea of what to do, so will first write the algorithm and test it on the example number. If it turns up the expected results then we can assume the algorithm is correct and be able to find that largest prime factor of 600851475143. Years and years later than this kind of thing could have been practical and career-defining, my programming and mathematical brain cells both enjoy a workout here, thanks to Project Euler.
But before we resume our workout, let's quickly enjoy my scorecard for the 6176th game of Countdown and its sister word game accompanied by Scott Lloyd Shelly's soundtrack for the 2D action-adventure sandbox game Terraria, due to land on Linux before the end of the month.
|3||100 50 75 4 8 1 → 467||467
100 × 4 + 75 − 8
|6||100 7 3 2 8 6 → 995||995
100 × (7 + 3) − 8 + 6 ÷ 2
|9||50 5 4 1 2 8 → 250||250
50 × 5
|14||100 3 8 1 5 1 → 915||915
100 × (8 + 1) + 5 × 3
2 Solved by Rosie
3 Unscrambled by Liam
|Words:||raciest bruised shawl tattled campion retorts deposit marking messy burner|
|Rules:||Comment or write an article on your own blog, utilising all of the words|
|Hints:||If you blog here on BCUK, use the trackback-URL when publishing your entry and a snippet of your entry will then appear here as a comment|