On Thu, Oct 26, 2017 at 8:48 PM, <danceswithnumbers at gmail.com> wrote: > Shouldn't that be? > > py> 16 * (-7/16 * math.log2(7/16) - 6/16 * math.log2(6/16)) = No, that's failing to account for 3/16 of the probability space.