Re: Compression test on permutations



Willem <willem@xxxxxxxx> writes:
erpy wrote:
) Yes, I was reading that around. Still, sometimes the zero is treated as
) a number, while other times is treated as the meaning of "no number at
) all", as a placeholder to say "there is no number here, really"....which
) doesn't look..."consistent".

In the case of factorials it's completely consistent. The factorial
of 1 is the product of 1 number. The factorial of 5 is the product of 5
numbers. So logically, the factorial of 0 is the product of 0 numbers.

And the product of 0 numbers is 1. That's entirely consistent
with the rest of arithmetic. (a^0 = 1, for example.)

Phil
--
"Home taping is killing big business profits. We left this side blank
so you can help." -- Dead Kennedys, written upon the B-side of tapes of
/In God We Trust, Inc./.
.



Relevant Pages

  • Re: Compression test on permutations
    ... Phil Carmody ha scritto: ... I was reading that around. ... Still, sometimes the zero is treated as) a number, while other times is treated as the meaning of "no number at ... In the case of factorials it's completely consistent. ...
    (comp.compression)
  • Re: Response to Karen and to Willem on recursive proofs
    ... >> The most common use of factorials is in combinatorial calculations. ... account the 'natural numbers with zero' and 'the natural numbers without ... domain is by far the more natural for the factorial function. ...
    (comp.programming)
  • Re: Compression test on permutations
    ... sometimes the zero is treated as ... while other times is treated as the meaning of "no number at ... In the case of factorials it's completely consistent. ... You all think I'm paranoid, ...
    (comp.compression)
  • Re: Compression test on permutations
    ... In the case of factorials it's completely consistent. ... SaSW, Willem ... That's why I'm saying that zero is conveniently saw one way or the other. ... So, I'm not saying "you can't use zero as to mean - no numbers" at all, but if you do, you should do it consistently within the same function at least. ...
    (comp.compression)