10212011, 11:48 PM  #21 
AKA Yotipo

Re: THE project euler thread
How do I learn this stuff and become a cool programmer like you guys ; _;

10222011, 03:16 AM  #22 
Rhythm game specialist.

Re: THE project euler thread
I'm interested in playing this but I have very little coding experience, haha.

10222011, 02:20 PM  #23 
x'); DROP TABLE FFR;
Join Date: Nov 2010
Posts: 6,334

Re: THE project euler thread
Good way to learn imo

10232011, 03:38 AM  #24  
behanjc & me are <3'ers
Join Date: Jul 2006
Posts: 2,043

Re: THE project euler thread
Quote:
If, on the other hand, you just want to learn programming, this is one way of starting out. At least it gives you a goal. Man, I need to find more time to do this.
__________________
Rhythm Simulation Guide Comments, criticism, suggestions, contributions, etc. are all welcome. Piano Etude Demon Fire sheet music 

10232011, 03:53 AM  #25 
smoke wheat hail satin
Join Date: Sep 2006
Location: LA baby
Age: 32
Posts: 5,703

Re: THE project euler thread
Thanks OP for giving me something to do with my brain while I'm in between jobs. This is awesome. I'll be programming in MATLAB/Octave. I just did the first two problems as a bit of a warm up and it was a lot of fun.
Problem 1 Problem 2 Had to first write a function to calculate the numbers in the Fibonacci sequence given any input: I then implemented that function in the script file below to find the solution: Last edited by foilman8805; 10232011 at 04:14 AM.. 
10232011, 04:11 AM  #26 
smoke wheat hail satin
Join Date: Sep 2006
Location: LA baby
Age: 32
Posts: 5,703

Re: THE project euler thread
Interesting, I actually had to augment the source code in MATLAB in order to do Problem 3.
For some reason MATLAB arbitrarily sets a limit on prime factoring numbers larger than 2^32. Opened up the factor.m and changed it to 2^50, so this solution pretty much became a oneliner. Problem 3 
10232011, 11:23 AM  #27 
x'); DROP TABLE FFR;
Join Date: Nov 2010
Posts: 6,334

Re: THE project euler thread
hit a wall with this problem :

10232011, 01:33 PM  #28 
The Vast White Note

Re: THE project euler thread
I'm not gonna use programs. :3
Problem 1:
__________________

10232011, 02:04 PM  #29 
behanjc & me are <3'ers
Join Date: Jul 2006
Posts: 2,043

Re: THE project euler thread
Upon first glance, that problem looks pretty trivial. But since Rubix is having trouble with it, it must be far from that. LOL
I'll take a crack at it.
__________________
Rhythm Simulation Guide Comments, criticism, suggestions, contributions, etc. are all welcome. Piano Etude Demon Fire sheet music 
10232011, 02:18 PM  #30 
behanjc & me are <3'ers
Join Date: Jul 2006
Posts: 2,043

Re: THE project euler thread
After taking a look at the problem, here's what I have so far. (I'm sure you already figured out this much, it's all the obvious stuff.)
Problem 355: I'll edit with more content once I figure out more. BRB FOOD LOL
__________________
Rhythm Simulation Guide Comments, criticism, suggestions, contributions, etc. are all welcome. Piano Etude Demon Fire sheet music Last edited by stargroup100; 10232011 at 02:33 PM.. 
10232011, 03:27 PM  #31 
FFR Simfile Author

Re: THE project euler thread
Sounds like you could just write a script for euler's totient function and then run a for loop or something >.>
Though I'm sure there's a more elegant way of doing it. Also, any way to check answers without registering? 
10232011, 03:28 PM  #32 
x'); DROP TABLE FFR;
Join Date: Nov 2010
Posts: 6,334

Re: THE project euler thread

10232011, 04:11 PM  #33 
behanjc & me are <3'ers
Join Date: Jul 2006
Posts: 2,043

Re: THE project euler thread
UGH
okay this problem is seriously impossible tackling it the way I'm doing it unless there's some beautiful optimization trick this is not working
__________________
Rhythm Simulation Guide Comments, criticism, suggestions, contributions, etc. are all welcome. Piano Etude Demon Fire sheet music 
10232011, 04:24 PM  #34 
x'); DROP TABLE FFR;
Join Date: Nov 2010
Posts: 6,334

Re: THE project euler thread
getting close but still off
the way I am tackling it is actually very similar to what you posed above (raising primes to powers) but figuring out where to fix things is tricky Last edited by Reincarnate; 10232011 at 04:31 PM.. 
10232011, 04:38 PM  #35 
D6 FFR Legacy Player
Join Date: Jan 2009
Age: 29
Posts: 4,211

Re: THE project euler thread
Should 99 be in your sorted mainlist for Co(100)?
I'm thinking about an approach right now, but I haven't come up with anything yet. 
10232011, 04:42 PM  #36  
x'); DROP TABLE FFR;
Join Date: Nov 2010
Posts: 6,334

Re: THE project euler thread
Quote:
Last edited by Reincarnate; 10232011 at 06:24 PM.. 

10232011, 05:36 PM  #37 
x'); DROP TABLE FFR;
Join Date: Nov 2010
Posts: 6,334

Re: THE project euler thread
Hm somehow it's one off, wtf

10232011, 05:51 PM  #38 

Join Date: Jul 2008
Location: Malaysia
Age: 30
Posts: 1,679

Re: THE project euler thread

10232011, 05:56 PM  #39 
behanjc & me are <3'ers
Join Date: Jul 2006
Posts: 2,043

Re: THE project euler thread
__________________
Rhythm Simulation Guide Comments, criticism, suggestions, contributions, etc. are all welcome. Piano Etude Demon Fire sheet music 
10232011, 06:00 PM  #40 
x'); DROP TABLE FFR;
Join Date: Nov 2010
Posts: 6,334

Re: THE project euler thread
can anyone find the problem in my earlier list? should equal 1356, not 1355 (according to the problem description)
Last edited by Reincarnate; 10232011 at 06:15 PM.. 
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)  
Thread Tools  
Display Modes  

