jiē
chéng

technical

Meaning of 阶乘

阶乘 means factorial; product of consecutive integers from 1 to n. Pronounced jiē chéng.

  • factorial; product of consecutive integers from 1 to n

Definitions & Examples

55
de
jiē
chéng
shì
1201
2
50
 
=
1205
 !
 
 =
 
 1
 2
 0
 

The factorial of 5 is 120, i.e., 5! = 120.

suàn
pái
liè
shí
jīng
cháng
yào
yòng
dào
jiē
chéng
 

Factorials are often used when calculating permutations and combinations.

Guī
dìng
00
de
jiē
chéng
děng
11
 
00
 !
=
1=
 
 1
 

By definition, the factorial of 0 equals 1, i.e., 0! = 1.

Qiú
nn
de
jiē
chéng
de
suàn
shì
OO
 (
nn
 )
 

The time complexity of an algorithm to compute the factorial of n is O(n).