Let’s all do these together
By “these” I mean the problems at Project Euler. Use HPaste to paste your responses. We’ll do one every couple days so nobody gets too bogged down. Since I seem to be the only one who allows replies to my posts, you can all post your own answers in response to mine, or make your own post whenever the mood strikes you. If possible, try to post your own answer before looking at someone else’s so we can all compare. I’ll probably mostly be using Haskell but use whatever you want.
Problem 1
“If we list all the natural numbers below 10 that are multiples of 3 or 5, we get 3, 5, 6 and 9. The sum of these multiples is 23.
Find the sum of all the multiples of 3 or 5 below 1000.”
