Actuarial Programming

Python Haskell R and so on

Project Euler

leave a comment »

http://projecteuler.net/index.php?section=problems

Stumble upon this interesting website. Interesting idea. Anyone who likes keeping some question marks in their minds must check it out!

My solution to the first question:

foldl (+) 0 [x | x<-[1..1000], x `mod` 3 == 0 || x `mod` 5 == 0]

					
Advertisements

Written by n0ne

July 14, 2009 at 4:54 pm

Posted in Haskell

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: