freeCodeCamp/curriculum/challenges/spanish/08-coding-interview-prep/project-euler/problem-282-the-ackermann-f...

56 lines
988 B
Markdown
Raw Normal View History

---
2018-10-10 20:20:40 +00:00
id: 5900f4861000cf542c50ff99
challengeType: 5
title: 'Problem 282: The Ackermann function'
2018-10-10 20:20:40 +00:00
videoUrl: ''
localeTitle: 'Problema 282: La función de Ackermann'
---
## Description
2018-10-10 20:20:40 +00:00
<section id="description"> Para los enteros no negativos m, n, la función de Ackermann A (m, n) se define de la siguiente manera: <p> Por ejemplo, A (1, 0) = 2, A (2, 2) = 7 y A (3, 4) = 125. </p><p> Encuentra A (n, n) y da tu respuesta mod 148. </p></section>
## Instructions
2018-10-10 20:20:40 +00:00
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler282()</code> debe devolver 1098988351.
testString: 'assert.strictEqual(euler282(), 1098988351, "<code>euler282()</code> should return 1098988351.");'
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler282() {
// Good luck!
return true;
}
euler282();
2018-10-10 20:20:40 +00:00
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
</section>