UPDATE May 13, 2015: Wow, look at the Jekyll code support!
Here’s some code to answer Project Euler 1 in a few languages.
By the way, you do not need code to solve this problem…
(Alternatively, the one-liner below is probably “better”.)
Note to self for Scala: to means it includes the last value, until means it does not.