Posers and Puzzles
20 Jun 04
Originally posted by Mouse2don't you hate it when you post a puzzle that isn't so much a puzzle as a bit of knowledge that people'll get first time anyway? ah well-i've gotta find some more puzzle, or dig up some old uns...ah well-how about, for the mean time, integrate lnx?
n! is defined as follows:
0!=1
for n>0, n!=n*(n-1)!
which is basically the same thing as teh product of all the numbers up to that nubmer, but it explains the 0 case
Originally posted by pidermanEven sillier is the following definition: n! := Gamma(n+1)
I think those reasons are all made up after it was defined this way. That was probably because it fits best that 0!=1 and not that 0!=0, so people looked for 'logical' explanations. But that's the mathematicians way.
i think another reason 0!=1 is because if you end up with a 0! in the denominator of a fraction, then the whole sentence becomes undefined. and sometimes the are solutions. like n choose r -
5 choose 0-
5!/(5-0)!*0!
there is one way to choose 0 out of 5, so it is possible. if 0!=0, then it would be undefined, whereas now it is 1.