The Project Euler thread
Collapse
X
-
-
Re: THE project euler thread
okay I made a small improvement on the speed of computation but it's not anything significant. what the hell did you doRhythm Simulation Guide
Comments, criticism, suggestions, contributions, etc. are all welcome.
Piano Etude Demon Fire sheet musicComment
-
-
-
Re: THE project euler thread
Reincarnate
I have been lurking on this thread for a few days. I wanted to see if I could pick your brain a bit on problem 355.
I have been getting close by implementing FFR4EVA_00's method of [a_2,a_3,a_5...a_p]. It is basically bumping the exponent of all primes < N
But alas, the answer is incorrect.
Did you use a method like this? Or did you go down a different path?Comment
-
Re: THE project euler thread
You have to do a lot more with that because the method for checking optimization possibilities from there is much too broad and will take forever.
If you try to optimize that you'll be doing well over 10^(300+) calculations, which your program will not finish within the lifespan of the universe.Last edited by stargroup100; 10-25-2011, 06:57 PM.Rhythm Simulation Guide
Comments, criticism, suggestions, contributions, etc. are all welcome.
Piano Etude Demon Fire sheet musicComment
-
Re: THE project euler thread
Reincarnate
I have been lurking on this thread for a few days. I wanted to see if I could pick your brain a bit on problem 355.
I have been getting close by implementing FFR4EVA_00's method of [a_2,a_3,a_5...a_p]. It is basically bumping the exponent of all primes < N
But alas, the answer is incorrect.
Did you use a method like this? Or did you go down a different path?
Raising the exponents of the initial "<N" prime list is just a starting point -- from there you need to create prime composites that you can add into the list. Just a matter of determining which composites are worth adding and which are useless. Some of them will be ambiguous -- which is what was tripping me up for the better part of 1.5 days. I ultimately had to do that part manually. I'm not sure if FFR4EVA had a fully automated solution or not, but mine wasn't.
Comment
-
Re: THE project euler thread
holy crap pari/gp lololol
this thing rules lololololololol
****in hellRhythm Simulation Guide
Comments, criticism, suggestions, contributions, etc. are all welcome.
Piano Etude Demon Fire sheet musicComment
-
Re: THE project euler thread
Define "Manually". Are we talking pen and pad here?
Raising the exponents of the initial "<N" prime list is just a starting point -- from there you need to create prime composites that you can add into the list. Just a matter of determining which composites are worth adding and which are useless. Some of them will be ambiguous -- which is what was tripping me up for the better part of 1.5 days. I ultimately had to do that part manually. I'm not sure if FFR4EVA had a fully automated solution or not, but mine wasn't.
Comment
-
Re: THE project euler thread
Yes, the four of us that solved it all did the last part manually.Rhythm Simulation Guide
Comments, criticism, suggestions, contributions, etc. are all welcome.
Piano Etude Demon Fire sheet musicComment
-
-
Re: THE project euler thread
Wow you guys really are gods among men. What is your education? I am working on a MS in CS.
I am working on the < 100 problems. My Advanced Algorithms teacher is giving a massive amount of extra credit if you can show you solved one of them.
I am using the 3 conjectures and the way FFREVA started to get a pretty good start, but I am still falling short.Comment
-
Re: THE project euler thread
Undergraduate sophomore. Took a basic course in programming and that's it.
Honestly, I just love Project Euler problems because you don't need to be super crazy good at programming to solve them, as long as you have a good sense with math.
My code for problem 355 (excluding the last part which was manual) was completely done with the most basic programming concepts and nothing else. For loops, while loops, a small handful of dedicated functions, and that's it.Rhythm Simulation Guide
Comments, criticism, suggestions, contributions, etc. are all welcome.
Piano Etude Demon Fire sheet musicComment
-
Re: THE project euler thread
Where did the pen and pad come in? I find it hard that in ~18k elements, your pen is going to make a difference.Undergraduate sophomore. Took a basic course in programming and that's it.
Honestly, I just love Project Euler problems because you don't need to be super crazy good at programming to solve them, as long as you have a good sense with math.
My code for problem 355 (excluding the last part which was manual) was completely done with the most basic programming concepts and nothing else. For loops, while loops, a small handful of dedicated functions, and that's it.Comment
-
Re: THE project euler thread
There is no literal pen and pad needed -- just some manual fudging to the program
EDIT: Solved all the triangle-numbered problems

Almost got 354 solved... just one piece missing but I'm too tired to fiddle with it tonight. night yallLast edited by Reincarnate; 10-25-2011, 10:50 PM.Comment




Comment