A Blog about Programming,Algorithms,Coding Competitions, and Discrete Mathematics!
Hello friends, today I'm going to talk about factorial of Negative Numbers.
In mathematics, factorial of a positive Integer say n is given as

where '*' is multiplication sign.
you know 0! is taken as 1.
Factorial of a positive integers have great applications in Programming and mathematics. Permutations and combinations is one (where we find the number of ways a group of objects can be arranged or selected in given group of objects). Expansion of terms like (a+b)^n (binomial theorem) are computed using factorials.
We'll discuss about how to find factorials of very large numbers like say 100! or 1000! in programming in my upcoming posts.
Well, let's discuss about factorials about negative numbers here...
In mathematics, factorial of a positive Integer say n is given as
where '*' is multiplication sign.
you know 0! is taken as 1.
Factorial of a positive integers have great applications in Programming and mathematics. Permutations and combinations is one (where we find the number of ways a group of objects can be arranged or selected in given group of objects). Expansion of terms like (a+b)^n (binomial theorem) are computed using factorials.
We'll discuss about how to find factorials of very large numbers like say 100! or 1000! in programming in my upcoming posts.
Well, let's discuss about factorials about negative numbers here...