56 lines
1.4 KiB
Markdown
56 lines
1.4 KiB
Markdown
---
|
|
id: 5900f4771000cf542c50ff89
|
|
challengeType: 5
|
|
title: 'Problem 266: Pseudo Square Root'
|
|
videoUrl: ''
|
|
localeTitle: 'Задача 266: Псевдо-квадратный корень'
|
|
---
|
|
|
|
## Description
|
|
<section id="description"> Дивизорами 12 являются: 1,2,3,4,6 и 12. Наибольший делитель 12, который не превышает квадратный корень из 12, равен 3. Мы будем называть наибольший дивизор целого числа n, не превосходящего квадратный корень из n псевдоквадратного корня (PSR) n. Видно, что PSR (3102) = 47. <p> Пусть p - произведение простых чисел ниже 190. Найдите PSR (p) mod 1016. </p></section>
|
|
|
|
## Instructions
|
|
<section id="instructions">
|
|
</section>
|
|
|
|
## Tests
|
|
<section id='tests'>
|
|
|
|
```yml
|
|
tests:
|
|
- text: <code>euler266()</code> должен вернуть 1096883702440585.
|
|
testString: 'assert.strictEqual(euler266(), 1096883702440585, "<code>euler266()</code> should return 1096883702440585.");'
|
|
|
|
```
|
|
|
|
</section>
|
|
|
|
## Challenge Seed
|
|
<section id='challengeSeed'>
|
|
|
|
<div id='js-seed'>
|
|
|
|
```js
|
|
function euler266() {
|
|
// Good luck!
|
|
return true;
|
|
}
|
|
|
|
euler266();
|
|
|
|
```
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</section>
|
|
|
|
## Solution
|
|
<section id='solution'>
|
|
|
|
```js
|
|
// solution required
|
|
```
|
|
</section>
|