56 lines
1.5 KiB
Markdown
56 lines
1.5 KiB
Markdown
---
|
||
id: 5900f3a81000cf542c50febb
|
||
challengeType: 5
|
||
title: 'Problem 60: Prime pair sets'
|
||
videoUrl: ''
|
||
localeTitle: 'Задача 60: Наборы простых пар'
|
||
---
|
||
|
||
## Description
|
||
<section id="description"> Простые числа 3, 7, 109 и 673 весьма примечательны. Принимая любые два простых числа и конкатенируя их в любом порядке, результат всегда будет простым. Например, принимая 7 и 109, как 7109, так и 1097 являются первыми. Сумма этих четырех простых чисел 792 представляет собой самую низкую сумму для набора из четырех простых чисел с этим свойством. Найдите самую низкую сумму для набора из пяти простых чисел, для которых любые два простых числа объединяются для создания другого простого числа. </section>
|
||
|
||
## Instructions
|
||
<section id="instructions">
|
||
</section>
|
||
|
||
## Tests
|
||
<section id='tests'>
|
||
|
||
```yml
|
||
tests:
|
||
- text: ''
|
||
testString: 'assert.strictEqual(euler60(), 26033, "<code>euler60()</code> should return 26033.");'
|
||
|
||
```
|
||
|
||
</section>
|
||
|
||
## Challenge Seed
|
||
<section id='challengeSeed'>
|
||
|
||
<div id='js-seed'>
|
||
|
||
```js
|
||
function euler60() {
|
||
// Good luck!
|
||
return true;
|
||
}
|
||
|
||
euler60();
|
||
|
||
```
|
||
|
||
</div>
|
||
|
||
|
||
|
||
</section>
|
||
|
||
## Solution
|
||
<section id='solution'>
|
||
|
||
```js
|
||
// solution required
|
||
```
|
||
</section>
|