freeCodeCamp/curriculum/challenges/russian/08-coding-interview-prep/project-euler/problem-87-prime-power-trip...

56 lines
1.4 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

---
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>