Go Back   Flash Flash Revolution > General Discussion > Technology
Register FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
Old 11-29-2013, 02:56 PM   #1
klimtkiller
D4
FFR Simfile AuthorD8 Godly KeysmasherFFR Veteran
 
klimtkiller's Avatar
 
Join Date: Jun 2011
Posts: 307
Default Re: The Project Euler thread

yay
klimtkiller is offline   Reply With Quote
Old 11-29-2013, 11:08 PM   #2
Reincarnate
x'); DROP TABLE FFR;--
Retired StaffFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,332
Default Re: The Project Euler thread

Oh how those green checkmarks make you feel warm and fuzzy inside
Reincarnate is offline   Reply With Quote
Old 02-2-2014, 04:53 PM   #3
Zapmeister
FFR Player
 
Join Date: Sep 2012
Location: England
Posts: 466
Default Re: The Project Euler thread

so today i remembered i had an account on this thing with 26 solved that i hadn't touched in over three years.

up to 60 now, running out of easy ones really fast. let's see how this goes. even if nothing happens it'll probably be a more productive use of my spare time than cookie clicker or messing around with bitcoin faucets

i was the 30000th person to do #38 yay
__________________

Theorem: If you have a large enough number of monkeys, and a large enough number of computer keyboards, one of them will sight-read AAA death piano on stealth. And the ffr community will forever worship it. Proof Example

ask me anything here

mashed FCs: 329

r1: 5
r2: 4
r3: 6
r4: 8
r5: 3
r6: 5
r7: 15
final position: 4th
Zapmeister is offline   Reply With Quote
Old 02-2-2014, 06:25 PM   #4
evanescence_death4ever
where'sTHEdrain?!
FFR Veteran
 
evanescence_death4ever's Avatar
 
Join Date: Jun 2007
Posts: 608
Default Re: The Project Euler thread

I think...I'm going to start this. O_O Time to fail.
evanescence_death4ever is offline   Reply With Quote
Old 05-12-2014, 09:18 PM   #5
lilylily608
Banned
 
Join Date: Apr 2014
Posts: 2
Default Re: The Project Euler thread

I will be going in linear order from start to finish!
lilylily608 is offline   Reply With Quote
Old 05-15-2014, 06:50 PM   #6
rushyrulz
Digital Dancing!
Retired StaffFFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
rushyrulz's Avatar
 
Join Date: Feb 2006
Location: 80 billion club, NE
Age: 31
Posts: 12,981
Default Re: The Project Euler thread

Quote:
Originally Posted by lilylily608 View Post
I will be going in linear order from start to finish!
you won't finish sorry.
__________________


rushyrulz is offline   Reply With Quote
Old 05-15-2014, 02:57 PM   #7
sweet2kill210
I'm okay I guess
FFR Veteran
 
sweet2kill210's Avatar
 
Join Date: Mar 2006
Location: [insert smartass reply of where I live here]
Age: 29
Posts: 592
Send a message via AIM to sweet2kill210 Send a message via Yahoo to sweet2kill210 Send a message via Skype™ to sweet2kill210
Default Re: The Project Euler thread

hmmm, I managed to do the first 5 in python a while back. BUT I will try to get through more later because next semester I'm taking a college class for C++ which I've been wanting to learn for a long time. :)
__________________


Thanks Gold Stinger, you are amazing!

sweet2kill210 is offline   Reply With Quote
Old 05-15-2014, 06:56 PM   #8
leonid
I am leonid
Retired StaffFFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
leonid's Avatar
 
Join Date: Oct 2008
Location: MOUNTAIN VIEW
Age: 35
Posts: 8,080
Default Re: The Project Euler thread

who knows.
__________________



Proud member of Team No
leonid is offline   Reply With Quote
Old 05-15-2014, 07:42 PM   #9
Reincarnate
x'); DROP TABLE FFR;--
Retired StaffFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,332
Default Re: The Project Euler thread

leonid you have not solved a problem in... almost 900 days.

tear
Reincarnate is offline   Reply With Quote
Old 05-15-2014, 10:55 PM   #10
Guest15937
One-handed elite
FFR Veteran
 
Guest15937's Avatar
 
Join Date: May 2008
Posts: 1,464
Default Re: The Project Euler thread

I've done about 70 of them, going in order from most solved to least solved.
__________________
The renegade has betrayed me.
Guest15937 is offline   Reply With Quote
Old 05-16-2014, 12:07 AM   #11
reuben_tate
Kawaii Desu Ne?
Retired StaffFFR Veteran
 
reuben_tate's Avatar
 
Join Date: Dec 2007
Location: The Kawaiian Island~
Age: 30
Posts: 4,182
Default Re: The Project Euler thread

Decided to start doing this again. Going to start from the beginning because I know when I first started my solutions were crap. I used my favorite programming language for this one:


Some actual code:

Code:
/*
* We use the fact that 3+6+9+12+... = 3(1+2+3+..) from which we can
* use the n(n+1)/2 formula for the sum of the first n positve integers
*/
       int a = 999/3; //number of multiples of 3 less than 1000
       int b = 999/5; //number of multiples of 5 less than 1000
       int c = 999/15; //number of multiples of 15 less than 1000
       System.out.println(3*(a)*(a+1)/2+5*(b)*(b+1)/2-15*(c)*(c+1)/2);

__________________
AMA: http://ask.fm/benguino

Not happening now! Don't click to join!



Quote:
Originally Posted by Spenner View Post
(^)> peck peck says the heels
Quote:
Originally Posted by Xx{Midnight}xX
And god made ben, and realized he was doomed to miss. And said it was good.
Quote:
Originally Posted by Zakvvv666
awww :< crushing my dreams; was looking foward to you attempting to shoot yourself point blank and missing
reuben_tate is offline   Reply With Quote
Old 05-16-2014, 07:24 AM   #12
reuben_tate
Kawaii Desu Ne?
Retired StaffFFR Veteran
 
reuben_tate's Avatar
 
Join Date: Dec 2007
Location: The Kawaiian Island~
Age: 30
Posts: 4,182
Default Re: The Project Euler thread

Ok, screw the whole going in order thing, I'm just going to do problems I haven't done yet haha. This was a nice paper-n-pencil-n-calculator one as well :) Level 1 get.
__________________
AMA: http://ask.fm/benguino

Not happening now! Don't click to join!



Quote:
Originally Posted by Spenner View Post
(^)> peck peck says the heels
Quote:
Originally Posted by Xx{Midnight}xX
And god made ben, and realized he was doomed to miss. And said it was good.
Quote:
Originally Posted by Zakvvv666
awww :< crushing my dreams; was looking foward to you attempting to shoot yourself point blank and missing
reuben_tate is offline   Reply With Quote
Old 05-16-2014, 07:36 AM   #13
rushyrulz
Digital Dancing!
Retired StaffFFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
rushyrulz's Avatar
 
Join Date: Feb 2006
Location: 80 billion club, NE
Age: 31
Posts: 12,981
Default Re: The Project Euler thread

I tend to just brute force everything :/





__________________


rushyrulz is offline   Reply With Quote
Old 05-21-2014, 12:14 AM   #14
stargroup100
behanjc & me are <3'ers
FFR Simfile AuthorFFR Music Producer
 
Join Date: Jul 2006
Posts: 2,051
Default Re: The Project Euler thread

Quote:
Originally Posted by rushyrulz View Post
I tend to just brute force everything :/
*solution to problem nine*
if you haven't done these kinds of problems with pencil/paper you should try it

the first time you realize how to do it it's quite enlightening and exciting
__________________
Rhythm Simulation Guide
Comments, criticism, suggestions, contributions, etc. are all welcome.

Piano Etude Demon Fire sheet music
stargroup100 is offline   Reply With Quote
Old 05-21-2014, 12:18 AM   #15
leonid
I am leonid
Retired StaffFFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
leonid's Avatar
 
Join Date: Oct 2008
Location: MOUNTAIN VIEW
Age: 35
Posts: 8,080
Default Re: The Project Euler thread

pencil&paper will only get you so far
__________________



Proud member of Team No
leonid is offline   Reply With Quote
Old 05-21-2014, 06:59 AM   #16
Reincarnate
x'); DROP TABLE FFR;--
Retired StaffFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,332
Default Re: The Project Euler thread

Not every problem can be done with pencil and paper.
Reincarnate is offline   Reply With Quote
Old 05-21-2014, 11:53 AM   #17
leonid
I am leonid
Retired StaffFFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
leonid's Avatar
 
Join Date: Oct 2008
Location: MOUNTAIN VIEW
Age: 35
Posts: 8,080
Default Re: The Project Euler thread



Rubix sent me to solve this

A bit of paperwork and then lots of wolframalpha
__________________



Proud member of Team No
leonid is offline   Reply With Quote
Old 05-21-2014, 03:15 PM   #18
Reincarnate
x'); DROP TABLE FFR;--
Retired StaffFFR Veteran
 
Reincarnate's Avatar
 
Join Date: Nov 2010
Posts: 6,332
Default Re: The Project Euler thread

Nicely done
Reincarnate is offline   Reply With Quote
Old 05-21-2014, 03:34 PM   #19
stargroup100
behanjc & me are <3'ers
FFR Simfile AuthorFFR Music Producer
 
Join Date: Jul 2006
Posts: 2,051
Default Re: The Project Euler thread

sorry I should've been more clear

I was referring to problem nine specifically, involving pythagorean triples
__________________
Rhythm Simulation Guide
Comments, criticism, suggestions, contributions, etc. are all welcome.

Piano Etude Demon Fire sheet music
stargroup100 is offline   Reply With Quote
Old 05-21-2014, 06:31 PM   #20
rushyrulz
Digital Dancing!
Retired StaffFFR Simfile AuthorFFR Music ProducerD7 Elite KeysmasherFFR Veteran
 
rushyrulz's Avatar
 
Join Date: Feb 2006
Location: 80 billion club, NE
Age: 31
Posts: 12,981
Default Re: The Project Euler thread

brute forcing 12 and it's not going so well. I'm almost an hour in and still no solution.
Code:
The sequence of triangle numbers is generated by adding the natural numbers. 
So the 7th triangle number would be 1 + 2 + 3 + 4 + 5 + 6 + 7 = 28. The first ten terms would be:

1, 3, 6, 10, 15, 21, 28, 36, 45, 55, ...

Let us list the factors of the first seven triangle numbers:

 1: 1
 3: 1,3
 6: 1,2,3,6
10: 1,2,5,10
15: 1,3,5,15
21: 1,3,7,21
28: 1,2,4,7,14,28
We can see that 28 is the first triangle number to have over five divisors.

What is the value of the first triangle number to have over five hundred divisors?
In hindsight, I probably would have used a much more efficient factor breakdown algorithm had I known it would take this long.
__________________



Last edited by rushyrulz; 05-21-2014 at 06:34 PM..
rushyrulz is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 04:57 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright FlashFlashRevolution