Build a function that finds the smallest positive number that is evenly divisible by all of the numbers starting from 1 up to the value passed into your function.
2520
is the smallest number that can be divided by each of the numbers found between 1 to 10 without any remainder.
What is the smallest positive number that is evenly divisible by all of the numbers from 1 to 20?
- Clone this repository
- To retrieve all dependecies, run the command:
npm install
- Your work will be done in the file named:
smallest_multiple.js
- Run your test with the command:
npm test
- There are two tests total. Make them pass!