Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

New to MATLAB?

Problem 230. Project Euler: Problem 1, Multiples of 3 and 5

Created by Doug Hull

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

Problem Group

Solution Statistics

883 correct solutions 1053 incorrect solutions
Last solution submitted on Oct 12, 2015

Problem Comments

Solution Comments