Files
freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-378-triangle-triples.russian.md

56 lines
1.2 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5900f4e61000cf542c50fff9
challengeType: 5
title: 'Problem 378: Triangle Triples'
videoUrl: ''
localeTitle: 'Задача 378: Треугольные тройки'
---
## Description
<section id="description"> Пусть T (n) - n-е число треугольников, поэтому T (n) = <p> n (n + 1) 2 </p><p> , </p><p> Пусть dT (n) - число делителей T (n). Например: T (7) = 28 и dT (7) = 6. </p><p> Пусть Tr (n) - число троек (i, j, k) таких, что 1 ≤ i &lt;j &lt;k ≤ n и dT (i)&gt; dT (j)&gt; dT (k). Tr (20) = 14, Tr (100) = 5772 и Tr (1000) = 11174776. </p><p> Найдите Tr (60 000 000). Дайте последние 18 цифр вашего ответа. </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: ''
testString: 'assert.strictEqual(euler378(), 147534623725724700, "<code>euler378()</code> should return 147534623725724700.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler378() {
// Good luck!
return true;
}
euler378();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>