26 lines
518 B
Markdown
26 lines
518 B
Markdown
---
|
||
id: 5900f44e1000cf542c50ff60
|
||
title: 问题225:Tribonacci非除数
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
---
|
||
|
||
# --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);
|
||
```
|
||
|
||
# --solutions--
|
||
|