Sha256: d3b8c0b2a8ad7c6535c67e53ba9c066d7fc097a01c86c0acf4371a0c8ccfb744

Contents?: true

Size: 999 Bytes

Versions: 68

Compression:

Stored size: 999 Bytes

Contents

# Sum Of Multiples

Given a number, find the sum of all the unique multiples of particular numbers up to
but not including that number.

If we list all the natural numbers below 20 that are multiples of 3 or 5,
we get 3, 5, 6, 9, 10, 12, 15, and 18.

The sum of these multiples is 78.

## Setup

Go through the setup instructions for ECMAScript to
install the necessary dependencies:

http://exercism.io/languages/ecmascript

## Requirements

Install assignment dependencies:

```bash
$ npm install
```

## Making the test suite pass

Execute the tests with:

```bash
$ npm test
```

In the test suites all tests but the first have been skipped.

Once you get a test passing, you can enable the next one by
changing `xtest` to `test`.


## Source

A variation on Problem 1 at Project Euler [http://projecteuler.net/problem=1](http://projecteuler.net/problem=1)

## Submitting Incomplete Solutions
It's possible to submit an incomplete solution so you can see how others have completed the exercise.

Version data entries

68 entries across 68 versions & 1 rubygems

Version Path
trackler-2.2.1.159 tracks/ecmascript/exercises/sum-of-multiples/README.md
trackler-2.2.1.158 tracks/ecmascript/exercises/sum-of-multiples/README.md
trackler-2.2.1.157 tracks/ecmascript/exercises/sum-of-multiples/README.md
trackler-2.2.1.156 tracks/ecmascript/exercises/sum-of-multiples/README.md
trackler-2.2.1.155 tracks/ecmascript/exercises/sum-of-multiples/README.md
trackler-2.2.1.154 tracks/ecmascript/exercises/sum-of-multiples/README.md
trackler-2.2.1.153 tracks/ecmascript/exercises/sum-of-multiples/README.md
trackler-2.2.1.152 tracks/ecmascript/exercises/sum-of-multiples/README.md
trackler-2.2.1.151 tracks/ecmascript/exercises/sum-of-multiples/README.md
trackler-2.2.1.150 tracks/ecmascript/exercises/sum-of-multiples/README.md
trackler-2.2.1.149 tracks/ecmascript/exercises/sum-of-multiples/README.md
trackler-2.2.1.148 tracks/ecmascript/exercises/sum-of-multiples/README.md
trackler-2.2.1.147 tracks/ecmascript/exercises/sum-of-multiples/README.md
trackler-2.2.1.146 tracks/ecmascript/exercises/sum-of-multiples/README.md
trackler-2.2.1.145 tracks/ecmascript/exercises/sum-of-multiples/README.md
trackler-2.2.1.144 tracks/ecmascript/exercises/sum-of-multiples/README.md
trackler-2.2.1.143 tracks/ecmascript/exercises/sum-of-multiples/README.md
trackler-2.2.1.142 tracks/ecmascript/exercises/sum-of-multiples/README.md
trackler-2.2.1.141 tracks/ecmascript/exercises/sum-of-multiples/README.md
trackler-2.2.1.140 tracks/ecmascript/exercises/sum-of-multiples/README.md