Files
freeCodeCamp/curriculum/challenges/spanish/08-coding-interview-prep/project-euler/problem-187-semiprimes.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: 5900f4291000cf542c50ff3a
challengeType: 5
title: 'Problem 187: Semiprimes'
videoUrl: ''
localeTitle: 'Problema 187: Semiprimes'
---
## Description
<section id="description"> Un compuesto es un número que contiene al menos dos factores primos. Por ejemplo, 15 = 3 × 5; 9 = 3 × 3; 12 = 2 × 2 × 3. <p> Hay diez compuestos por debajo de treinta que contienen precisamente dos factores primos, no necesariamente distintos: 4, 6, 9, 10, 14, 15, 21, 22, 25, 26. </p><p> ¿Cuántos enteros compuestos, n &lt;108, tienen exactamente dos factores primos, no necesariamente distintos? </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler187()</code> debe devolver 17427258.
testString: 'assert.strictEqual(euler187(), 17427258, "<code>euler187()</code> should return 17427258.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler187() {
// Good luck!
return true;
}
euler187();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>