freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-378-triangle-triple...

32 lines
648 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: 5900f4e61000cf542c50fff9
title: 问题378三角形三元组
challengeType: 5
videoUrl: ''
---
# --description--
设Tn为第n个三角形数因此Tn=
nn + 12
设dTn为Tn的除数。例如T7= 28且dT7= 6。
令Trn为三元组数ijk使得1≤i<j <k≤n且dTi> dTj> dTk。 Tr20= 14Tr100= 5772Tr1000= 11174776。
找Tr60 000 000。给出答案的最后18位数字。
# --hints--
`euler378()`应该返回147534623725724700。
```js
assert.strictEqual(euler378(), 147534623725724700);
```
# --solutions--