Problem 230. Project Euler: Problem 1, Multiples of 3 and 5
36.78% Correct | 63.22% Incorrect
Last Solution submitted on Mar 22, 2023
sukeerat syan on 22 Mar 2016
Nice one :)
Aaron on 11 Sep 2016
Very well thought problem. Took me a few minutes to see why the "simplest" solution was incorrect. Well posed problem.
Owen on 11 Jul 2022
Suraj Kumar on 16 Mar 2022
Good problem, Initially I was ignoring the OR statement. Solving it without loops was more fun!
Satyanu Bhadra on 11 Jan 2021
this is cheating, this is just calling the assert program, not solving the problem. Moderators should delete such solutions.
Uthara Keerthan on 17 Sep 2015
It works in matlab installed in my pc,I dont konw the exact reason why the script encounters a long run time error while compiling here
Show 1 older comment
Fatpuss on 13 Dec 2015
Chen Qian on 9 Jul 2019
This is very clever!
Mohammad Yehia on 23 Oct 2021
思航 李 on 4 Dec 2021
Problem Recent Solvers2510
Sum of first n positive integers
More from this Author51
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!