Skip to content

devleague/Challenge-Smallest-Multiple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Smallest multiple

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.

Example

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?

Getting Started

  1. Clone this repository
  2. To retrieve all dependecies, run the command: npm install
  3. Your work will be done in the file named: smallest_multiple.js
  4. Run your test with the command: npm test
  5. There are two tests total. Make them pass!

From Project Euler Problem 5

Releases

No releases published

Packages

No packages published