계승 계산기입니다. 100% 무료.
Enter a non-negative integer (0 – 10,000)
계승 계산기에 대한 도구입니다.
The factorial of a number n (written as n!) is the product of all positive integers from 1 to n. For example: 4! = 4 × 3 × 2 × 1 = 24. By mathematical convention, 0! = 1.
결과가 정확한가요?
이 계산기는 JavaScript의 BigInt를 사용하여 10,000!까지 지원합니다. BigInt는 임의로 큰 정수를 정확하게 표현할 수 있어 결과가 수천 자리를 초과하더라도 정확하게 계산할 수 있습니다.
The number of trailing zeros in n! equals the number of times n! is divisible by 10. Since 10 = 2 × 5, and there are always more factors of 2 than 5, the count is: floor(n/5) + floor(n/25) + floor(n/125) + ...