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

918 B

id localeTitle challengeType title
5 5900f4861000cf542c50ff99 5 Problem 282: The Ackermann function

Description

Para enteros no negativos m, n, la función de Ackermann A (m, n) se define como sigue:

Para el 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