Affiliates
image
image
image
image
---------------------
image
Navigation :: The Cut Throats
FAQ :: Search :: Memberlist :: Usergroups :: Register :: Profile :: Log in to check your private messages :: Log in
Log in
Username:    Password:      Log me on automatically each visit    
Obligatory Project Euler thread

 
Post new topic   Reply to topic    The Cut Throats Forum Index -> Crow's Nest
View previous topic :: View next topic  
Author Message
Messy Recipe
El Gran Capitán
<b>El Gran Capitán</b>


Joined: 13 Mar 2005
Location: Inter Veritates
PostPosted: Fri Mar 09, 2012 1:43 am 
Post subject: Obligatory Project Euler thread
Top Reply with quote

So, I started doing Project Euler back on January 1st. I was going to try to stay ahead of it for as long as I could manage, seeing as there are 365 problems.... got the flu shortly after and didn't pick it back up though. I've done up through number 11. Should be up to at least 67 now if I'd been keeping up (if you disregard February 29).

A lot of the early problems involve primality tests and factoring and such. I hadn't taken any number theory before now, but I'm studying cryptology this semester and we're covering some things I already covered just learning to solve those problems.

It's pretty fun to do when you're bored -- I've been solving the problems using Ruby, which is basically as close to English as you can get for writing out algorithms. And it's great learning to actually implement some of these things -- I didn't even know what the Sieve of Eratosthenes was until I needed some way to find primes, but now I can actually write code to do it.
_________________
ABC News wrote:
Birds can disable planes, Ostrom said, by flying into the engines and shutting them down.
Back to top
View user's profile Send private message Send e-mail
Wang Chung
Elite
Elite


Joined: 13 Mar 2005
Location: Virginia Tech
PostPosted: Fri Mar 09, 2012 2:18 am 
Post subject:
Top Reply with quote

I am definitely going to do this at some point - I hope to start within the next year or so. If I do get a PhD in Operations Research it would mean I have to learn number theory, real analysis, complex analysis, etc, so I'm going to be doing a lot of spare-time mathematics in the future. Not ready for these though...
_________________
is now -=|CT|=- Frothy Mixture
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Xfire Username
Erwin Rommel
Elite
Elite


Joined: 02 Aug 2005
PostPosted: Fri Mar 09, 2012 2:50 am 
Post subject:
Top Reply with quote

Most of those seem like they need a computer algebra system to solve. There are a couple ones that I've been meaning to learn, so this could be good practice.
_________________
-=|CT|=-Descartes
Back to top
View user's profile Send private message Xfire Username
Stealth
▲RAWR TRIANGLE RAWR▲


Joined: 13 Mar 2005
PostPosted: Fri Mar 09, 2012 2:40 pm 
Post subject:
Top Reply with quote

Hmm... this is very interesting. However, I'm not as interested in the Math portion.

While although the Math portion is needed for reinforcement, another would be if I were to write Python code to solve the math problems for me.

I would do this as an additional feature to challenge myself and would be more complex than it sounds. Basically, to improve my Python fluency and not so much the Math. Although with these problems, it would certainly help in that department.
_________________
Motherfucking Triangles! Being all three sided n' shit, who do they think they are?!

User-posted image
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger MSN Messenger
Nugget
Hax0r
Hax0r


Joined: 13 Mar 2005
Location: with yarrr wench
PostPosted: Fri Mar 09, 2012 3:22 pm 
Post subject:
Top Reply with quote

Started doing it a few years ago using java, but i havent looked at it in awhile.
_________________
User-posted image
User-posted image
-----------------------
User-posted image
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Xfire Username
Erwin Rommel
Elite
Elite


Joined: 02 Aug 2005
PostPosted: Sun Jan 19, 2014 10:27 pm 
Post subject:
Top Reply with quote

I'm bumping this since I'm working on these now as a way of learning Python, and programming in general.

So my experience is basically the opposite of Messy's:

For example, I've known what the sieve of Erastosthenes was for a long time, but I've never implemented it!
_________________
-=|CT|=-Descartes
Back to top
View user's profile Send private message Xfire Username
Display posts from previous:   
Post new topic   Reply to topic    The Cut Throats Forum Index -> Crow's Nest All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB
Shoutbox
Drunken Monkey:  we really do need to find some way to get back together some day some how

Messy Recipe:  well, it'll exist 'til I die or 'til I finally decide to upgrade it
Messy Recipe:  This place will exist 'til I die! I occasionally have to go thru & clean up spambots, but I made some changes in February that prevents the most likely ones to post from making it thru registration & I have a couple tools to ease killing off those that leak by
Drunken Monkey:  you are not alone stealth
JASC^:  Wow, this place still exists!!! Just when I thought everything was gone
Messy Recipe:  Just updated the registration CAPTCHA since Google disabled the text kind and requires the "not a robot" checkbox, also got a proper mailserver setup, so now people can at least register & reset passwords and stuff again!
The King Arthur Magic Sho:  Hi from all of Das
Drunken Monkey:  The skeletons do come out now and again
Berry Punch:  Wow this place is still running.
Drunken Monkey:  is it wrong to be looking at rl 18th century falconets for sale?....that are still usable...

C y a n o s i s:  I'm not 12 anymore
massive:  Nay I Say!
K9 Carlos:  YARRRRRR ... get off the damn grass!
massive:  Oh hey Obama DIDN'T take our guns; therefore I declare FIREFOX the winner and RALLY MONKEY the asshat of the century
2shoes:  By end of the month I shall be in Pensacola full time anyone rolling through has a place to crash.

CampinCarl:  :(


Username:
Password:
Auto-Login