--- id: 5900f4d01000cf542c50ffe3 challengeType: 5 title: 'Problem 356: Largest roots of cubic polynomials' forumTopicId: 302016 --- ## Description
Let an be the largest real root of a polynomial g(x) = x3 - 2n·x2 + n. For example, a2 = 3.86619826... Find the last eight digits of. Note: represents the floor function.
## Instructions
## Tests
```yml tests: - text: euler356() should return 28010159. testString: assert.strictEqual(euler356(), 28010159); ```
## Challenge Seed
```js function euler356() { return true; } euler356(); ```
## Solution
```js // solution required ```