freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-225-tribonacci-non-...

43 lines
695 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
id: 5900f44e1000cf542c50ff60
title: 问题225Tribonacci非除数
challengeType: 5
videoUrl: ''
dashedName: problem-225-tribonacci-non-divisors
---
# --description--
序列1,1,1,3,5,9,17,31,57,105,193,355,653,1201 ......由T1 = T2 = T3 = 1和Tn = Tn-1 + Tn定义-2 + Tn-3。
可以证明27不会划分该序列的任何项。实际上27是具有该属性的第一个奇数。
找到不分割上述序列的任何项的第124个奇数。
# --hints--
`euler225()`应该返回2009年。
```js
assert.strictEqual(euler225(), 2009);
```
# --seed--
## --seed-contents--
```js
function euler225() {
return true;
}
euler225();
```
# --solutions--
```js
// solution required
```