Project Euler: Problem 1, Multiples of 3 and 5 - MATLAB Cody - MATLAB Central

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

Difficulty:Rate

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

Solution Stats

37.95% Correct | 62.05% Incorrect
Last Solution submitted on Mar 17, 2025

Problem Comments

Solution Comments

Show comments

Group

Matrix Manipulation I Image
Matrix Manipulation I
  • 16 Problems
  • 98 Finishers

Problem Recent Solvers3378

Problem Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Go to top of page