2018-10-10 18:03:03 -04:00
---
id: 5900f4311000cf542c50ff44
challengeType: 5
title: 'Problem 197: Investigating the behaviour of a recursively defined sequence'
2019-08-28 16:26:13 +03:00
forumTopicId: 301835
2018-10-10 18:03:03 -04:00
localeTitle: 'Задача 197: Исследование поведения рекурсивно определенной последовательности'
---
## Description
2019-08-28 16:26:13 +03:00
< section id = 'description' >
Дана функция f (x) = ⌊230.403243784-x2⌋ × 10-9 (⌊ ⌋ - функция пола), последовательность un определяется u0 = -1 и un + 1 = f (un). < p > Найти un + un + 1 для n = 1012. Дайте свой ответ с 9 цифрами после десятичной точки. < / p >
< / section >
2018-10-10 18:03:03 -04:00
## Instructions
2019-08-28 16:26:13 +03:00
< section id = 'instructions' >
2018-10-10 18:03:03 -04:00
< / section >
## Tests
< section id = 'tests' >
```yml
tests:
2019-08-28 16:26:13 +03:00
- text: < code > euler197()</ code > should return 1.710637717.
testString: assert.strictEqual(euler197(), 1.710637717);
2018-10-10 18:03:03 -04:00
```
< / section >
## Challenge Seed
< section id = 'challengeSeed' >
< div id = 'js-seed' >
```js
function euler197() {
// Good luck!
return true;
}
euler197();
```
< / div >
< / section >
## Solution
< section id = 'solution' >
```js
// solution required
```
2019-08-28 16:26:13 +03:00
2018-10-10 18:03:03 -04:00
< / section >