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

988 B

id challengeType title videoUrl localeTitle
5900f4861000cf542c50ff99 5 Problem 282: The Ackermann function Problema 282: La función de Ackermann

Description

Para los enteros no negativos m, n, la función de Ackermann A (m, n) se define de la siguiente manera:

Por ejemplo, A (1, 0) = 2, A (2, 2) = 7 y A (3, 4) = 125.

Encuentra A (n, n) y da tu respuesta mod 148.

Instructions

Tests

tests:
  - text: <code>euler282()</code> debe devolver 1098988351.
    testString: 'assert.strictEqual(euler282(), 1098988351, "<code>euler282()</code> should return 1098988351.");'

Challenge Seed

function euler282() {
  // Good luck!
  return true;
}

euler282();

Solution

// solution required