67 lines
1.4 KiB
Markdown
Raw Normal View History

---
id: 5900f50c1000cf542c51001e
challengeType: 5
title: 'Problem 415: Titanic sets'
videoUrl: ''
localeTitle: 问题415泰坦尼克号集
---
## Description
<section id="description">
如果存在一条直线恰好经过S中的两个点则一组晶格点S称为钛酸组。
泰坦尼克集的示例是S = {000102112010},其中 通过0120的通道不会通过S中的任何其他点。
另一方面,集合{00112244}不是泰坦尼克号集合,因为穿过集合中任意两点的线也经过 通过其他两个。
对于任何正整数N令TN为每个点xy都满足0≤xy≤N的钛酸集合S的数量。
可以验证T1= 11T2= 494T4= 33554178T111mod 108 = 13500401和T105mod 108 = 63259062。
找出T1011mod 108。
</section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler415()</code>应该返回55859742。
testString: assert.strictEqual(euler415(), 55859742);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler415() {
// Good luck!
return true;
}
euler415();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>