2021-06-15 00:49:18 -07:00
---
id: 5900f4291000cf542c50ff3b
2022-03-01 00:52:39 +05:30
title: 'Problema 188: L''iperesponenziazione di un numero'
2021-06-15 00:49:18 -07:00
challengeType: 5
forumTopicId: 301824
dashedName: problem-188-the-hyperexponentiation-of-a-number
---
# --description--
2022-03-01 00:52:39 +05:30
L'iperesponenziazione o tetrazione di un numero $a$ di un numero intero positivo $b$, denotata da $a↑b$ o ${}^ba$, è definita ricorsivamente da:
2021-06-15 00:49:18 -07:00
2022-03-01 00:52:39 +05:30
$a↑↑1 = a$,
2021-06-15 00:49:18 -07:00
2022-03-01 00:52:39 +05:30
$a↑↑(k+1) = a^{(a↑↑k)}$.
2021-06-15 00:49:18 -07:00
2022-03-01 00:52:39 +05:30
Così abbiamo ad esempio $3↑↑2 = 3^3 = 27$, quindi $3↑↑3 = 3^{27} = 7625597484987$ e $3↑↑4$ è approssimativamente ${10}^{3. 383346400240996 \tvolte {10}^{12}}$. Trova le ultime 8 cifre di $1777↑↑1855$.
2021-06-15 00:49:18 -07:00
# --hints--
2022-03-01 00:52:39 +05:30
`hyperexponentation()` dovrebbe restituire `95962097` .
2021-06-15 00:49:18 -07:00
```js
2022-03-01 00:52:39 +05:30
assert.strictEqual(hyperexponentation(), 95962097);
2021-06-15 00:49:18 -07:00
```
# --seed--
## --seed-contents--
```js
2022-03-01 00:52:39 +05:30
function hyperexponentation() {
2021-06-15 00:49:18 -07:00
return true;
}
2022-03-01 00:52:39 +05:30
hyperexponentation();
2021-06-15 00:49:18 -07:00
```
# --solutions--
```js
// solution required
```