팩토리얼

Jmnote (토론 | 기여)님의 2022년 7월 31일 (일) 23:41 판
(차이) ← 이전 판 | 최신판 (차이) | 다음 판 → (차이)

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 }}