Topic: I've never programmed before, going to try Project Euler. Anyone want to join in and help?
Anonymous A started this discussion 15 years ago#6,859
Project Euler has exercises to try, it gives you a goal, and you write a script to find the answer. I've never programmed before, but I've heard this is a good place to start.
> If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.
> Find the sum of all the multiples of 3 or 5 below 1000.
I'm going to try this in Python.
Not sure how...
Anonymous B joined in and replied with this 15 years ago, 51 seconds later, 1 minute after the original post[^][v]#120,389
@OP
I don't give a fuck. I was drinking Sprite when I read your fucking headline.
Anonymous C joined in and replied with this 15 years ago, 4 minutes later, 6 minutes after the original post[^][v]#120,394
> Warning: mysql_connect() [function.mysql-connect]: User admin_euler already has more than 'max_user_connections' active connections in /home/admin/domains/projecteuler.net/public_html/index_preheader.php on line 54 Could not connect to MySQL
r04r joined in and replied with this 15 years ago, 1 minute later, 8 minutes after the original post[^][v]#120,395
Seems pretty fun. Going to play around with it a lil'. Really fucking slow site, though.
(Edited 24 seconds later.)
Anonymous C replied with this 15 years ago, 4 minutes later, 13 minutes after the original post[^][v]#120,400
> Parse error: syntax error, unexpected '<' in home/admin/domains/projecteuler.net/php/
r04r replied with this 15 years ago, 5 minutes later, 18 minutes after the original post[^][v]#120,402
Anonymous F joined in and replied with this 15 years ago, 34 minutes later, 1 hour after the original post[^][v]#120,453
@previous (r04r)
But the idea is to find an elegant solution, no? Finding and using the relationship between even Finbonacci numbers to predict the next one (any given even Fibonacci is 4 times the previous even one plus the even one before that) would be more in the spirit of the exercise.
(Edited 34 seconds later.)
r04r replied with this 15 years ago, 6 minutes later, 1 hour after the original post[^][v]#120,463
@previous (F)
The spirit is finding a solution. You're probably right, but I really am lacking care and am too tired to bother about elegance.
I googled around a bit, and most of the solutions posted on the web are "brute-force" solutions.