--- id: 5900f4311000cf542c50ff44 challengeType: 5 title: 'Problem 197: Investigating the behaviour of a recursively defined sequence' videoUrl: '' localeTitle: 'Problema 197: Investigando o comportamento de uma sequência definida recursivamente' --- ## Description
Dado é a função f (x) = ⌊230.403243784-x2⌋ × 10-9 (⌊ ⌋ é a função floor), a seqüência un é definida por u0 = -1 e un + 1 = f (un).

Encontre un + un + 1 para n = 1012. Dê sua resposta com 9 dígitos após o ponto decimal.

## Instructions
## Tests
```yml tests: - text: euler197() deve retornar 1.710637717. testString: 'assert.strictEqual(euler197(), 1.710637717, "euler197() should return 1.710637717.");' ```
## Challenge Seed
```js function euler197() { // Good luck! return true; } euler197(); ```
## Solution
```js // solution required ```