Files
freeCodeCamp/curriculum/challenges/spanish/08-coding-interview-prep/project-euler/problem-131-prime-cube-partnership.spanish.md
2018-10-11 02:15:05 +05:30

56 lines
1.1 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5900f3ef1000cf542c50ff02
challengeType: 5
title: 'Problem 131: Prime cube partnership'
videoUrl: ''
localeTitle: 'Problema 131: Prime cube partnership'
---
## Description
<section id="description"> Hay algunos valores primarios, p, para los cuales existe un entero positivo, n, de modo que la expresión n3 + n2p es un cubo perfecto. Por ejemplo, cuando p = 19, 83 + 82 × 19 = 123. Lo que quizás sea más sorprendente es que para cada primo con esta propiedad el valor de n es único, y solo hay cuatro primos de este tipo por debajo de cien. ¿Cuántos números primos por debajo de un millón tiene esta propiedad notable? </section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler131()</code> debe devolver 173.
testString: 'assert.strictEqual(euler131(), 173, "<code>euler131()</code> should return 173.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler131() {
// Good luck!
return true;
}
euler131();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>