56 lines
1.4 KiB
Markdown
56 lines
1.4 KiB
Markdown
---
|
||
id: 5900f3c51000cf542c50fed8
|
||
challengeType: 5
|
||
title: 'Problem 87: Prime power triples'
|
||
videoUrl: ''
|
||
localeTitle: 'Задача 87: тройки власти'
|
||
---
|
||
|
||
## Description
|
||
<section id="description"> Наименьшее число, выражаемое как сумма простого квадрата, простого куба и первичной четвертой степени, равно 28. На самом деле существует ровно четыре числа ниже пятидесяти, которые могут быть выражены таким образом: 28 = 22 + 23 + 24 33 = 32 + 23 + 24 49 = 52 + 23 + 24 47 = 22 + 33 + 24 Сколько чисел ниже пятидесяти миллионов может быть выражено как сумма простого квадрата, первого куба и первичной четвертой степени? </section>
|
||
|
||
## Instructions
|
||
<section id="instructions">
|
||
</section>
|
||
|
||
## Tests
|
||
<section id='tests'>
|
||
|
||
```yml
|
||
tests:
|
||
- text: <code>euler87()</code> должен вернуть 1097343.
|
||
testString: 'assert.strictEqual(euler87(), 1097343, "<code>euler87()</code> should return 1097343.");'
|
||
|
||
```
|
||
|
||
</section>
|
||
|
||
## Challenge Seed
|
||
<section id='challengeSeed'>
|
||
|
||
<div id='js-seed'>
|
||
|
||
```js
|
||
function euler87() {
|
||
// Good luck!
|
||
return true;
|
||
}
|
||
|
||
euler87();
|
||
|
||
```
|
||
|
||
</div>
|
||
|
||
|
||
|
||
</section>
|
||
|
||
## Solution
|
||
<section id='solution'>
|
||
|
||
```js
|
||
// solution required
|
||
```
|
||
</section>
|