**Problem**

Find the sum of all the multiples of 3 or 5 below 1000. For example; sum of all natural numbers less than 10, that are multiples of 3 or 5 (3, 5, 6, & 9), is 23.

**Solution**

For the domain If there’s no remainder when x is divided by 3 or 5, take the sum of all those x’s.

*Remember to view the result of running this block of javascript by clicking the blue dropdown and selecting Result*

Adventures in Coding, Math, and Physics.

</DaVinciCoder>

## Food for thought. Or not.