--- title: 'Sailors, coconuts and a monkey problem' id: 59da22823d04c95919d46269 challengeType: 5 videoUrl: '' localeTitle: '' --- ## Description undefined ## Instructions undefined ## Tests
```yml tests: - text: '' testString: 'assert(typeof splitCoconuts === "function", "splitCoconuts is a function.");' - text: '' testString: 'assert(splitCoconuts(5) === 3121, "splitCoconuts(5) should return 3121.");' - text: '' testString: 'assert(splitCoconuts(6) === 233275, "splitCoconuts(6) should return 233275.");' - text: '' testString: 'assert(splitCoconuts(7) === 823537, "splitCoconuts(7) should return 823537.");' ```
## Challenge Seed
```js // noprotect function splitCoconuts(intSailors) { // Good luck! return true; } ```
## Solution
```js // solution required ```