Discover MakerZone

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

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

MATLAB Academy

New to MATLAB?

Learn MATLAB today!

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

975 correct solutions 1241 incorrect solutions
Last solution submitted on Jul 22, 2016

Problem Comments

Solution Comments