freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-193-squarefree-numb...

56 lines
1.1 KiB
Markdown
Raw Normal View History

---
id: 5900f42f1000cf542c50ff41
challengeType: 5
title: 'Problem 193: Squarefree Numbers'
videoUrl: ''
localeTitle: 'Задача 193: Квадратные числа'
---
## Description
<section id="description"> Положительное целое число n называется квадратным, если квадрат простого числа n не делится, поэтому 1, 2, 3, 5, 6, 7, 10, 11 являются квадратными, но не 4, 8, 9, 12. <p> Сколько квадратных чисел там ниже 250? </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler193()</code> должен вернуть 684465067343069.
testString: 'assert.strictEqual(euler193(), 684465067343069, "<code>euler193()</code> should return 684465067343069.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler193() {
// Good luck!
return true;
}
euler193();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>