What is factorial? What is that operation? Factorial n means 1 * 2 * 3 * 4 * ... * n. It means that starting from n you multiply by every number that is once smaller than it to one. Then you stop. For example 5 factorial: 5! is equal to 1 * 2 * 3 * 4 * 5 = 120. So it is big number. Power of factorial is increasing enormously, and 100 is equal to 9.332621544E+157. They grow very fast. So it is very big distance from 5! and 100!. High level factorials end with zero every time, because it was multiplication by 5 and by 2. Next factorial from previous differs in such way: n! = n * (n-1)!. So 6! = 6 * 5! = 6 * 120 = 720. 7! factorial will be 7 * 6! and so on. 0! is equivalent to 1. This is one exception. Factorials are used in combinatorics and probability theory mostly. Examples and formulas:
2! + 3! is not equal to 5!. Using above formula 2! + 3! = ( 1 * 2! + 3 * 2!) = 2! ( 1 + 3) = 8
2! * 4! is not equal to 8!. In similar way as above 2! * 4! = ( 1 * 2! * 4 * 3 * 2!) = 2! * 2! ( 1 * 4 * 3 ) = 48
Factorials from 1 to 100
1 | = 1
|
26 | = 4.032914611E+26
|
51 | = 1.551118753E+66
|
76 | = 1.885494702E+111
|
2 | = 2
|
27 | = 1.088886945E+28
|
52 | = 8.065817517E+67
|
77 | = 1.45183092E+113
|
3 | = 6
|
28 | = 3.048883446E+29
|
53 | = 4.274883284E+69
|
78 | = 1.132428118E+115
|
4 | = 24
|
29 | = 8.841761994E+30
|
54 | = 2.308436973E+71
|
79 | = 8.946182131E+116
|
5 | = 120
|
30 | = 2.652528598E+32
|
55 | = 1.269640335E+73
|
80 | = 7.156945705E+118
|
6 | = 720
|
31 | = 8.222838654E+33
|
56 | = 7.109985878E+74
|
81 | = 5.797126021E+120
|
7 | = 5040
|
32 | = 2.631308369E+35
|
57 | = 4.05269195E+76
|
82 | = 4.753643337E+122
|
8 | = 40320
|
33 | = 8.683317619E+36
|
58 | = 2.350561331E+78
|
83 | = 3.94552397E+124
|
9 | = 362880
|
34 | = 2.95232799E+38
|
59 | = 1.386831185E+80
|
84 | = 3.314240135E+126
|
10 | = 3628800
|
35 | = 1.033314797E+40
|
60 | = 8.320987113E+81
|
85 | = 2.817104114E+128
|
11 | = 39916800
|
36 | = 3.719933268E+41
|
61 | = 5.075802139E+83
|
86 | = 2.422709538E+130
|
12 | = 479001600
|
37 | = 1.376375309E+43
|
62 | = 3.146997326E+85
|
87 | = 2.107757298E+132
|
13 | = 6227020800
|
38 | = 5.230226175E+44
|
63 | = 1.982608315E+87
|
88 | = 1.854826423E+134
|
14 | = 8.71782912E+10
|
39 | = 2.039788208E+46
|
64 | = 1.268869322E+89
|
89 | = 1.650795516E+136
|
15 | = 1.307674368E+12
|
40 | = 8.159152832E+47
|
65 | = 8.247650592E+90
|
90 | = 1.485715964E+138
|
16 | = 2.092278989E+13
|
41 | = 3.345252661E+49
|
66 | = 5.443449391E+92
|
91 | = 1.352001528E+140
|
17 | = 3.556874281E+14
|
42 | = 1.405006118E+51
|
67 | = 3.647111092E+94
|
92 | = 1.243841405E+142
|
18 | = 6.402373706E+15
|
43 | = 6.041526306E+52
|
68 | = 2.480035542E+96
|
93 | = 1.156772507E+144
|
19 | = 1.216451004E+17
|
44 | = 2.658271575E+54
|
69 | = 1.711224524E+98
|
94 | = 1.087366157E+146
|
20 | = 2.432902008E+18
|
45 | = 1.196222209E+56
|
70 | = 1.197857167E+100
|
95 | = 1.032997849E+148
|
21 | = 5.109094217E+19
|
46 | = 5.50262216E+57
|
71 | = 8.504785886E+101
|
96 | = 9.916779349E+149
|
22 | = 1.124000728E+21
|
47 | = 2.586232415E+59
|
72 | = 6.123445838E+103
|
97 | = 9.619275968E+151
|
23 | = 2.585201674E+22
|
48 | = 1.241391559E+61
|
73 | = 4.470115462E+105
|
98 | = 9.426890449E+153
|
24 | = 6.204484017E+23
|
49 | = 6.08281864E+62
|
74 | = 3.307885442E+107
|
99 | = 9.332621544E+155
|
25 | = 1.551121004E+25
|
50 | = 3.04140932E+64
|
75 | = 2.480914081E+109
|
100 | = 9.332621544E+157
|
|