팩토리얼

1 개요[ | ]

factorial
팩토리얼, 계승
  • 1부터 양의 정수 n까지의 정수를 모두 곱한 것 (단, [math]\displaystyle{ 0! = 1 }[/math])
[math]\displaystyle{ n!=\prod_{k=1}^n k \! }[/math]
[math]\displaystyle{ n! = \begin{cases} 1 & \text{if } n = 0, \\ (n-1)!\times n & \text{if } n \gt 0. \end{cases} }[/math]
  • 예: [math]\displaystyle{ 5! = 5 \times 4 \times 3 \times 2 \times 1 = 120 }[/math]

2 같이 보기[ | ]

3 참고[ | ]

문서 댓글 ({{ doc_comments.length }})
{{ comment.name }} {{ comment.created | snstime }}