The indicator decomposition of a count writes it as a sum of indicators, , so that by linearity, whether or not the events are independent.
Ejemplos
Example 11.2 (Fixed points, runs, records)
A random permutation of items has on average one fixed point: item is in place with probability , and there are items. A sequence of fair coin tosses has on average runs: a new run starts at toss with probability . A sequence of independent draws from a continuous law has on average records, since draw is the largest so far with probability ; for ten draws, about 2.93.
Example 11.3 (Distinct values)
draws from equally likely values show on average distinct values: value is missed by all draws with probability . The same indicator gives the expected number of empty buckets in a hash table.