sum of all the multiples of 3 or 5 below 1000
Version 1.0.0.0 (267 octets) par
INFOZOU
sum of all the multiples of 3 or 5 below 1000
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.
Citation pour cette source
INFOZOU (2024). 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. Récupéré le .
Compatibilité avec les versions de MATLAB
Créé avec
R2016b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxTags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 |