因数分解計算機
整数の因数分解n!を計算する。非常に大きな値でも正確に。
結果はタイプすると更新されます。
この計算機の情報
The factorial of n (written n!) is the product of every whole number from 1 up to n. This calculator returns the exact value using arbitrary-precision integers, the number of digits in that value, and an approximate mantissa × power-of-ten form for readability.
The calculation is a running product: 5! = 5 × 4 × 3 × 2 × 1 = 120. Factorials grow extremely fast — 10! = 3,628,800 and 100! already has 158 digits — which is why the tool shows both the full exact integer and its digit count. By definition 0! = 1 and 1! = 1, since there is exactly one way to arrange an empty or single-item set. It accepts n from 0 up to 2000.
Factorials count the number of ways to order n distinct items and are the foundation of permutations and combinations, the binomial theorem, and probability. Whenever you count arrangements or divide out orderings, a factorial is doing the work underneath.
よくある質問
因数分解は何に使われる?
因数分解は配列を数えます。n!はn項目の異なる順序の数です。置換と組合せの構築ブロックです。
0!(ゼロ因子)とは何ですか?
By definition 0! = 1. There is exactly one way to arrange an empty set, so the empty product is 1.
5の因数分解は何ですか。
5×4×3×2×1=120である。
どれくらいの大きさの因数分解を計算できるのか?
任意の精度の整数を用いて,2000!まで正確に,数が巨大であっても精度を失わない。
なぜ数字が表示されるの?
因数分解は、非常に速く成長するので、全体の数は扱いにくい。100! は158桁である。数字を数えることで、その大きさを簡単に感じることができます。
どのような近似値ですか。
分数を10のべき乗のマンチサとして表現し,正確な整数の隣に読みやすい推定値を示した。
API — コードからこの計算機を使う
この計算機を自由な JSON エンドポイントとして呼び出します。鍵は必要ありません。下のフィールド値をクエリパラメータまたは JSON として送信してください。 省略したものは、このページに既に入力されているデフォルトと同じ値を使用します。未知のパラメータは 400 で、サイレンスゼロはありません。 API ドキュメントを読む →
エンドポイント
GET https://calculator.free/api/v1/factorial/
curl
curl "https://calculator.free/api/v1/factorial/?n=5"
JavaScript fetch()
const r = await fetch(
"https://calculator.free/api/v1/factorial/?" + new URLSearchParams({
"n": "5"
}));
const data = await r.json();
console.log(data.results);
結果は一般的な指導のための推定であり,財務的,医療的または税務的な助言ではない。