--- id: 5900f39c1000cf542c50feae challengeType: 5 title: 'Problem 47: Distinct primes factors' videoUrl: '' localeTitle: '' --- ## Description undefined ## Instructions undefined ## Tests
```yml tests: - text: '' testString: 'assert.strictEqual(distinctPrimeFactors(2, 2), 14, "distinctPrimeFactors(2, 2) should return 14.");' - text: '' testString: 'assert.strictEqual(distinctPrimeFactors(3, 3), 644, "distinctPrimeFactors(3, 3) should return 644.");' - text: '' testString: 'assert.strictEqual(distinctPrimeFactors(4, 4), 134043, "distinctPrimeFactors(4, 4) should return 134043.");' ```
## Challenge Seed
```js function distinctPrimeFactors(targetNumPrimes, targetConsecutive) { // Good luck! return true; } distinctPrimeFactors(4, 4); ```
## Solution
```js // solution required ```