Files
freeCodeCamp/curriculum/challenges/japanese/10-coding-interview-prep/project-euler/problem-188-the-hyperexponentiation-of-a-number.md
2022-01-23 00:08:20 +09:00

993 B

id, title, challengeType, forumTopicId, dashedName
id title challengeType forumTopicId dashedName
5900f4291000cf542c50ff3b 問題 188: 数の超累乗 5 301824 problem-188-the-hyperexponentiation-of-a-number

--description--

a を正の整数 b によって超累乗またはテトレーション (tetration) することを a↑↑b または {}^ba と表記し、次のように再帰的に定義します。

a↑↑1 = a

a↑↑(k+1) = a^{(a↑↑k)}

したがって、例えば、3↑↑2 = 3^3 = 27, 3↑↑3 = 3^{27} = 7625597484987 であり、3↑↑4 は大まかに {10}^{3.6383346400240996 \times {10}^{12}} です。 1777↑↑1855 の下位 8 桁を求めなさい。

--hints--

hyperexponentation()95962097 を返す必要があります。

assert.strictEqual(hyperexponentation(), 95962097);

--seed--

--seed-contents--

function hyperexponentation() {

  return true;
}

hyperexponentation();

--solutions--

// solution required