File Exchange

image thumbnail

sum of all the multiples of 3 or 5 below 1000

version 1.0.0.0 (267 Bytes) by INFOZOU
sum of all the multiples of 3 or 5 below 1000

1 Download

Updated 07 Oct 2016

View License

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 1000.

Cite As

INFOZOU (2020). sum of all the multiples of 3 or 5 below 1000 (https://www.mathworks.com/matlabcentral/fileexchange/59558-sum-of-all-the-multiples-of-3-or-5-below-1000), MATLAB Central File Exchange. Retrieved .

Comments and Ratings (2)

s s

Mode PhD

MATLAB Release Compatibility
Created with R2016b
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags