2018-10-10 18:03:03 -04:00
---
id: 5900f4861000cf542c50ff99
challengeType: 5
title: 'Problem 282: The Ackermann function'
2019-08-28 16:26:13 +03:00
forumTopicId: 301933
2018-10-10 18:03:03 -04:00
localeTitle: 'Задача 282: функция Аккермана'
---
## Description
2019-08-28 16:26:13 +03:00
<section id='description'>
Для неотрицательных целых чисел m, n функция Аккермана A (m, n) определяется следующим образом: <p> Например, A (1, 0) = 2, A (2, 2) = 7 и A (3, 4) = 125. </p><p> Найдите A (n, n) и дайте свой ответ mod 148. </p>
</section>
2018-10-10 18:03:03 -04:00
## Instructions
2019-08-28 16:26:13 +03:00
<section id='instructions'>
2018-10-10 18:03:03 -04:00
</section>
## Tests
<section id='tests'>
```yml
tests:
2019-08-28 16:26:13 +03:00
- text: <code>euler282()</code> should return 1098988351.
testString: assert.strictEqual(euler282(), 1098988351);
2018-10-10 18:03:03 -04:00
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler282() {
// Good luck!
return true;
}
euler282();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
2019-08-28 16:26:13 +03:00
2018-10-10 18:03:03 -04:00
</section>