XP is just a number PerlMonks

### Re: Project Euler (a series of challenging mathematical/computer programming problems)

by mpolo (Chaplain)
 on Feb 04, 2006 at 20:36 UTC ( #527991=note: print w/replies, xml ) Need Help??

Well, I've wasted a lot of time with that site now...

I've solved 18 thus far, and have credited perl for all but #5. A very useful resource for a lot of these is one of merlyn's columns, which calculates the primes pretty quickly. And Math::BigInt is your friend for many of these as well.

Currently, #48 has me a little stumped, as it managed to "inf" out BigInt. All the sums from 18 to 143 have the same last 10 digits, but the site claims that these are not the answer. I suppose I'm going to be forced to think about that one some more. :)

• Comment on Re: Project Euler (a series of challenging mathematical/computer programming problems)

Replies are listed 'Best First'.
Re^2: Project Euler (a series of challenging mathematical/computer programming problems)
by mpolo (Chaplain) on Feb 05, 2006 at 07:08 UTC
O.K. I was totally stupid on #48. I've solved it now (without even needing BigInt).

Log In?
 Username: Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://527991]
help
Chatterbox?
 [Corion]: ambrus: AnyEvent(::HTTP) doesn't integrate well with Prima, that's my main problem [Corion]: There is a weirdo shim because there is a POE integration for Prima, and if you use that, you can use the POE adapter of AnyEvent. What I'd want is something transport agnostic that parses HTTP or produces HTTP output, so that the communication with ... [Corion]: ... the socket is done by my code. Ideally that module would not be based on callbacks ;) [Corion]: Basically, something that decouples the HTTP parsing (+ determining whether to redirect, etc) from the IO [Corion]: All clients I'm aware of don't do that but issue all IO themselves

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2016-12-07 15:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
Voting Booth?
On a regular basis, I'm most likely to spy upon:

Results (130 votes). Check out past polls.