今回は31の階乗と計算方法を説明していきます。
31の階乗は8222838654177922817725562880000000となります。
この計算方法について説明していきます。
階乗とは何か?
まず、階乗とは何かを理解することから始めます。
階乗は、ある自然数nに対して、1からnまでの全ての数を掛け合わせたものを表します。
つまり、nの階乗は、$n!=n(n-1)(n-2)…3\times2\times1$です。
※参考記事
[数A]階乗|階乗とは、0の階乗が1になる理由も解説
31の階乗
では、本題に入りましょう。
nの階乗の式に31を代入して計算していきます。
$$n!=n(n-1)(n-2)…3\times2\times1$$
ここで$n=31$とすると、下記のように計算できます。
$$31!=31\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=8222838654177922817725562880000000$$
掛け算のみで解けるので計算自体は難しくないですね。
nの値が大きい時は迷わず電卓やエクセルを使いましょう!
まとめ
ここまで読んでいただきありがとうございます。
31の階乗を計算してきました。
nの階乗は、$n!=n(n-1)(n-2)…3\times2\times1$なので、nに代入すれば掛け算だけでも解けますね!

コメント