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
Messy Recipe:  deleted all the last couple years worth of bots & managed to preserve the two real people that have posted since then xD

so many DELETED spam posts now tho that I think I'll need to automate cleaning those moreso than i already have

Messy Recipe:  sry about the bots :( been busy & havent gotten round to doing the usual cleanup

need to prolly stick this behind cloudflare or something

Drunken Monkey:  doing well, been building a hobby ranch of my own, got married, no kids, only dogs, sheep and a horse

Comradekil:  so anyway, i wonder how everyone's lives all progressed.. who's in jail? who's grandparents now.. ha life
Drunken Monkey:  and yes....i do miss 1942 aswell, i honestly think it is what drove me to get a M1 garand in real live, and is still my most used rifle
Drunken Monkey:  bots are getting silly
Comradekil:  Sup dudes
Messy Recipe:  the BAR-1918 always felt so good in that game
Messy Recipe:  I miss vanilla 1942 as much as Pirates... need to see if the Origin version (or even original) still has anyone playing sometime
Stealth:  Hello all! Head to the lounge and post a memory!
Stealth:  I saw a BF1942 fraps video of a guy jumping out of a plane and RPG'd another plane. I immediately came here for nostalgia. Miss you all.
Messy Recipe:  I've not tried Sea of Thieves... kinda was bummed to learn its servers don't allow many simultaneous players. gimme 32v32 galleon fights
Messy Recipe:  oh gosh I really need to automate the spambot removal instead of making myself do it by hand don't I -.-
Drunken Monkey:  merry Christmas you lot
[BB]Piccolo:  Anybody playing Sea of Thieves?
[BB]Piccolo:  I'm amazed I actually still knew my login. We Black Buccaneers certainly had a special relationship with you Cut Throats. Nothing like a fierce rivalry to make the battlefield exciting, eh? :)

Username:
Password:
Auto-Login