今回は39の階乗と計算を紹介していきます。
39の階乗は20397882081197443358640281739902897356800000000です。
この計算方法について説明します。
階乗とは何か?
まず、階乗とは何かを理解することが大切です。
階乗は、ある自然数nに対して、1からnまでの全ての数を掛け合わせたもののことです。
つまり、nの階乗は、$n!=n(n-1)(n-2)…3\times2\times1$です。
※参考記事
[数A]階乗|階乗とは、0の階乗が1になる理由も解説
39の階乗
ここから、本題に入りましょう。
nの階乗の式に39を代入して計算していきます。
$$n!=n(n-1)(n-2)…3\times2\times1$$
ここで$n=39$とすると、下記のように計算できます。
$$39!=39\times38\times37\times36\times35\times34\times33\times32\times31\times30\times29\times28\times27\times26\times25\times24\times23\times22\times21\times20\times19\times18\times17\times16\times15\times14\times13\times12\times11\times10\times9\times8\times7\times6\times5\times4\times3\times2\times1=20397882081197443358640281739902897356800000000$$
掛け算のみで解けてしまうのでそこまで難しくないですね。
nの値が大きい時は迷わず電卓やエクセルを使いましょう!
まとめ
ここまで読んでいただきありがとうございます。
39の階乗を計算してきました。
nの階乗は、$n!=n(n-1)(n-2)…3\times2\times1$なので、nに代入すれば掛け算だけでも解けますね!
コメント