56 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			56 lines
		
	
	
		
			1.9 KiB
		
	
	
	
		
			Markdown
		
	
	
	
	
	
---
 | 
						|
id: 5900f3b61000cf542c50fec8
 | 
						|
challengeType: 5
 | 
						|
title: 'Problem 73: Counting fractions in a range'
 | 
						|
videoUrl: ''
 | 
						|
localeTitle: 'Problema 73: contar fracciones en un rango'
 | 
						|
---
 | 
						|
 | 
						|
## Description
 | 
						|
<section id="description"> Considera la fracción, n / d, donde n y d son enteros positivos. Si n <d 1="" 2="" 3="" 4="" 5="" 6="" 7="" 8="" and="" hcf(n,d)="1," it="" is="" called="" a="" reduced="" proper="" fraction.="" if="" we="" list="" the="" set="" of="" fractions="" for="" d="" ≤="" in="" ascending="" order="" size,="" get:="" 8,="" 7,="" 6,="" 5,="" 4,="" 3,="" 2,="" can="" be="" seen="" that="" there="" are="" between="" 2.="" how="" many="" lie="" sorted="" 12,000?="" <="" section=""><h2> Instrucciones </h2><section id="instructions"></section><h2> Pruebas </h2><section id="tests"><pre> <code class="language-yml">tests: - text: <code>euler73()</code> should return 7295372. testString: 'assert.strictEqual(euler73(), 7295372, "<code>euler73()</code> should return 7295372.");'</code> </pre></section><h2> Semilla de desafío </h2><section id="challengeSeed"><div id="js-seed"><pre> <code class="language-js">function euler73() { // Good luck! return true; } euler73();</code> </pre></div></section><h2> Solución </h2><section id="solution"><pre> <code class="language-js">// solution required</code> </pre></section></d></section>
 | 
						|
 | 
						|
## Instructions
 | 
						|
<section id="instructions">
 | 
						|
</section>
 | 
						|
 | 
						|
## Tests
 | 
						|
<section id='tests'>
 | 
						|
 | 
						|
```yml
 | 
						|
tests:
 | 
						|
  - text: <code>euler73()</code> debe devolver 7295372.
 | 
						|
    testString: 'assert.strictEqual(euler73(), 7295372, "<code>euler73()</code> should return 7295372.");'
 | 
						|
 | 
						|
```
 | 
						|
 | 
						|
</section>
 | 
						|
 | 
						|
## Challenge Seed
 | 
						|
<section id='challengeSeed'>
 | 
						|
 | 
						|
<div id='js-seed'>
 | 
						|
 | 
						|
```js
 | 
						|
function euler73() {
 | 
						|
  // Good luck!
 | 
						|
  return true;
 | 
						|
}
 | 
						|
 | 
						|
euler73();
 | 
						|
 | 
						|
```
 | 
						|
 | 
						|
</div>
 | 
						|
 | 
						|
 | 
						|
 | 
						|
</section>
 | 
						|
 | 
						|
## Solution
 | 
						|
<section id='solution'>
 | 
						|
 | 
						|
```js
 | 
						|
// solution required
 | 
						|
```
 | 
						|
</section>
 |