Re: Compression test on permutations
- From: Willem <willem@xxxxxxxx>
- Date: Wed, 25 Apr 2007 10:42:38 +0000 (UTC)
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
.
- Follow-Ups:
- Re: Compression test on permutations
- From: Phil Carmody
- Re: Compression test on permutations
- References:
- Compression test on permutations
- From: erpy
- Re: Compression test on permutations
- From: Mark Adler
- Re: Compression test on permutations
- From: erpy
- Re: Compression test on permutations
- From: Willem
- Re: Compression test on permutations
- From: erpy
- Compression test on permutations
- Prev by Date: Re: hash function with weak compression????
- Next by Date: Re: Compression test on permutations
- Previous by thread: Re: Compression test on permutations
- Next by thread: Re: Compression test on permutations
- Index(es):
Relevant Pages
|
|