--- id: 5900f3891000cf542c50fe9c challengeType: 5 title: 'Problem 29: Distinct powers' videoUrl: '' localeTitle: '' --- ## Description undefined ## Instructions undefined ## Tests
```yml tests: - text: '' testString: 'assert.strictEqual(distinctPowers(15), 177, "distinctPowers(15) should return 177.");' - text: '' testString: 'assert.strictEqual(distinctPowers(20), 324, "distinctPowers(20) should return 324.");' - text: '' testString: 'assert.strictEqual(distinctPowers(25), 519, "distinctPowers(25) should return 519.");' - text: '' testString: 'assert.strictEqual(distinctPowers(30), 755, "distinctPowers(30) should return 755.");' ```
## Challenge Seed
```js function distinctPowers(n) { // Good luck! return n; } distinctPowers(30); ```
## Solution
```js // solution required ```