Files
freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-197-investigating-the-behaviour-of-a-recursively-defined-sequence.chinese.md
Oliver Eyton-Williams 61460c8601 fix: insert blank line after ```
search and replace ```\n< with ```\n\n< to ensure there's an empty line
before closing tags
2020-08-16 04:45:20 +05:30

963 B
Raw Blame History

id, challengeType, title, videoUrl, localeTitle
id challengeType title videoUrl localeTitle
5900f4311000cf542c50ff44 5 Problem 197: Investigating the behaviour of a recursively defined sequence 问题197研究递归定义的序列的行为

Description

给定函数fx=⌊230.403243784-x2⌋×10-9⌊⌊是floor函数序列un由u0 = -1和un + 1 = fun定义。

找到n + 1012的un + un + 1.在小数点后面给出9位数的答案。

Instructions

Tests

tests:
  - text: <code>euler197()</code>应该返回1.710637717。
    testString: assert.strictEqual(euler197(), 1.710637717);

Challenge Seed

function euler197() {
  // Good luck!
  return true;
}

euler197();

Solution

// solution required

/section>