Decathlete
I don’t really have anything more to say about Project Euler, but I am quite pleased with myself for having unlocked the second progress award. I can now claim to be a Python programming Mathematical...
View ArticleWhat is the value of the first triangle number to have over five hundred...
Also known as Project Euler Problem 12. This is the first one that has proved to be a bit of a challenge for me, and one that forced me both to do a bit of research and to take a look at the...
View ArticleStarting in the top left corner in a 20 by 20 grid, how many routes are there...
Also known as: Project Euler problem 15 Also known as: A week to understand, a minute to implement. The problem: Starting in the top left corner of a 2 x 2 grid, there are 6 routes (without...
View ArticleProject Euler: The Journey Begins
I haven’t mentioned Project Euler for a while, but I haven’t been ignoring the problems either. What I have been doing is building a library of reusable functions. I noticed that a number of the...
View ArticleFind the sum of all numbers that can be written as pandigital products.
Also known as Project Euler problem 32. Yes, I am still slowly working my way through these and – in this case – I am quite pleased with myself for having a solution, not least because I had to read...
View ArticleFun with Factorions
Also known as Project Euler problem 34: 145 is a curious number, as 1! + 4! + 5! = 1 + 24 + 120 = 145. Find the sum of all numbers which are equal to the sum of the factorial of their digits. Note: as...
View ArticleDesperately seeking pandigitals
Also known as Project Euler Problem 38: Take the number 192 and multiply it by each of 1, 2, and 3: 192 × 1 = 192 192 × 2 = 384 192 × 3 = 576 By concatenating each product we get the 1 to 9 pandigital,...
View ArticleDesperately seeking Pythagoras
Also known as Project Euler problem 39: If p is the perimeter of a right angle triangle with integral length sides, {a,b,c}, there are exactly three solutions for p = 120. {20,48,52}, {24,45,51},...
View ArticleYielding pandigitals
An n-digit number is pandigital if it makes use of all the digits 1 to n exactly once; for example, the 5-digit number, 15234, is 1 through 5 pandigital. This is a thing that I first encountered while...
View ArticleFifty solutions in sixteen months
Observant readers (both of you) will notice a graphic has just popped up in the sidebar of this blog. This should update automatically to reflect my Project Euler progress. And, yes, after 16 months I...
View ArticleDice combinations
I’m always a little uncertain as to how far I can rasonably talk about Project Euler problems. The site is a superb resource that challenges you to develop programs to solve mathematical problems. For...
View ArticleComparing exponentials with logarithms
Project Euler problem 99 is as follows: Comparing two numbers written in index form like 211 and 37 is not difficult, as any calculator would confirm that 211 = 2048 7 = 2187. However, confirming that...
View ArticlePrime pair sets
I started playing around with Project Euler way back in November 2011, not least as an opportunity to hone my still nascent Python skills. And I’m still learning. Problem 60 states: The primes 3, 7,...
View Article
More Pages to Explore .....