freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-466-distinct-terms-...

58 lines
1.3 KiB
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: 5900f53e1000cf542c510051
challengeType: 5
title: 'Problem 466: Distinct terms in a multiplication table'
forumTopicId: 302141
localeTitle: 'Задача 466: Определенные термины в таблице умножения'
---
## Description
<section id='description'>
Пусть P (m, n) - число различных членов в таблице умножения m × n. <p> Например, таблица умножения 3 × 4 выглядит следующим образом: </p><p> × 12341 12342 24683 36912 </p><p> Существует 8 различных терминов {1,2,3,4,6,8,9,12}, поэтому P (3,4) = 8. </p><p> Вам дается следующее: P (64,64) = 1263, P (12,345) = 1998 и P (32,1015) = 13826382602124302. </p><p> Найдите P (64, 1016). </p>
</section>
## Instructions
<section id='instructions'>
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler466()</code> should return 258381958195474750.
testString: assert.strictEqual(euler466(), 258381958195474750);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler466() {
// Good luck!
return true;
}
euler466();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>