Code: Select all
9411013635752824:
9+4+1=14
10+1+3=14
6+3+5=14
7+5+2=14
8+2+4=14It is currently Wed Sep 02, 2026 10:37 pm
Code: Select all
9411013635752824:
9+4+1=14
10+1+3=14
6+3+5=14
7+5+2=14
8+2+4=149 is not the numerically lowest external node.Working clockwise, and starting from the group of three with the numerically lowest external node (4,3,2 in this example), each solution can be described uniquely.

Joined PE in May 20117.57 µs ??!! wow, what kind of machine are you running? I wrote this code in pythonHibernatus34 wrote:Hello,
I didn't read the whole post, i stopped at 1.67 ms.
Just to let you know, i get 7.57 µs (ie. 0.0076 ms), and i don't think i've done anything special, i use a recursive algorithm IIRC.
Edit: I've read your post now, and it is interesting indeed. I didn't notice any of those properties. Thanks. These could inspire a few optimizations
But i too feel somewhat frustrated sometimes because i arrive 7 years after the battle. For example in problem 31 most people used a very bad algorithm, but fortunately problems 76 and 77 require the better one. 76 took me a few minutes to adapt my code made for 31, then a few microseconds to execute (15 µs).
Hello,BostonBear wrote: 7.57 µs ??!! wow, what kind of machine are you running? I wrote this code in python
from time import time
st=time()
print "Process time is ", time()-st
and it took me 30.04 µs. thats right, this mac, running JUST one import statement, 2 time() calls and a print statement took 4 times longer than yours took to do the whole solution. I don't see anybody on here running times in microseconds. so you must be running a seriously suped up PC or mainframe.. its like comparing apples to oranges.. or you are running assember/C++ maybe?
Joined PE in May 2011
The problem states "starting from the group of three with the numerically lowest external node". So if you're describing that ring, you have to start with 2.mescher wrote:What is wrong then, with the set for a 3-gon ring 6,3,1; 4,1,5; 2,5,3. Which is a rotation of the second solution summing to ten. Doesn't it have external nodes 2,1,4? 1 being the least of these? wouldn't 631415253 be a bigger concatenation of digits?

Clockwise.tijko wrote:[link]http://projecteuler.net/problem=68[/link]
Hello, I've been reading and re-reading problem 68. I still do not understand how euler would like us to come up with the sets.
I understand that each number has to be used at least once. I understand that the leading set has to be lowest in each node level.
Other than this I am not seeing how to order the sets.
