Ok, so after reading Brian Carper post a couple of times about this Project Euler I decided like a jealous toddler I wanted to try. So naturally I started with problem 1. Here is the problem to save you the trouble:
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.
Well that sounds simple of enough but it took me two days to figure it out. Why on earth would it take a mathematician/programmer two days to do a seemingly simple math problem? Because its a poorly formed question. The way I interpreted it, and rightfully so, was that no number should be include twice. Well, thats not what they meant. So any multiple of 15 for example would be included twice in the final summation. Yeah, it took me two days to figure out I misunderstood the problem. So I’m not a crappy mathematician/programmer, I’m just an analyst.
Enjoy the Penguins!