[5043] in cryptography@c2.net mail archive
Re: number of ones
daemon@ATHENA.MIT.EDU (Mike Stay)
Wed Jun 30 19:28:39 1999
Date: Wed, 30 Jun 1999 17:07:30 -0600
From: Mike Stay <staym@accessdata.com>
To: coderpunks@toad.com
Cc: cryptography@c2.net
I wrote
> What's the average number of ones in a randomly-chosen N-bit number?
Duh..
Sorry, I was thinking of the average number of bits that change on
increment. The answer's obviously N/2 for the above.
--
Mike Stay
Cryptographer / Programmer
AccessData Corp.
mailto:staym@accessdata.com