MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn moreOpportunities for recent engineering grads.

Apply Today**New to MATLAB?**

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 the input value.

Thank you to Project Euler Problem 1

883 correct solutions
1053 incorrect solutions

Last solution submitted on Oct 12, 2015

6 players like this problem

1 player likes this solution

1 Comment

Daniel Pereira
on 16 Apr 2013

Well thought!!

1 Comment