Files
freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-362-squarefree-factors.russian.md

56 lines
1.5 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: 5900f4d61000cf542c50ffe9
challengeType: 5
title: 'Problem 362: Squarefree factors'
videoUrl: ''
localeTitle: 'Задача 362: Квадратные коэффициенты'
---
## Description
<section id="description"> Рассмотрим число 54. 54 можно разделить на 7 разных способов на один или несколько факторов, превышающих 1: 54, 2 × 27, 3 × 18, 6 × 9, 3 × 3 × 6, 2 × 3 × 9 и 2 × 3 × 3 × 3. Если мы требуем, чтобы все факторы были квадратными, оставались только два пути: 3 × 3 × 6 и 2 × 3 × 3 × 3. <p> Назовем Fsf (n) число способов n можно разделить на один или несколько квадратичных факторов, больших 1, поэтому Fsf (54) = 2. </p><p> Пусть S (n) - ΣFsf (k) при k = 2 - n. </p><p> S (100) = 193. </p><p> Найти S (10 000 000 000). </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: ''
testString: 'assert.strictEqual(euler362(), 457895958010, "<code>euler362()</code> should return 457895958010.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler362() {
// Good luck!
return true;
}
euler362();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>