Re: Compression test on permutations



erpy wrote:
) Willem ha scritto:
)> erpy wrote:
)> ) which in this case would be: 256!/(256-256)! -> 256!/0 = IND
)> ) Which leaves me a bit puzzled.
)>
)> 0! is 1, not 0.
)>
)>
)> SaSW, Willem
)>
)
) ...even though, I suppose this is treated like an exception... and this
) leaves me puzzled about how the zero is often subject to "custom"
) exceptions in math. :)

It's not treated as an exception. It's perfectly logical that 0! is 1.

I'll try to explain:

The factorial of X is equal to the factorial of X-1, times X, right ?

Now, as you know, the factorial of 1 is 1.
But the factorial of 1 is also equal to the factorial of 0, times 1.
So, what number do you need to multiply by 1 to get 1 ? Exactly.


SaSW, Willem
--
Disclaimer: I am in no way responsible for any of the statements
made in the above text. For all I know I might be
drugged or something..
No I'm not paranoid. You all think I'm paranoid, don't you !
#EOT
.



Relevant Pages