Optimize the degree distribution of a digital fountain code for a file of K = 10 000 packets. Pick a sensible objective function for your optimization, such as minimizing the mean of N, the number of packets required for complete decoding, or the 95th percentile of the histogram of N (figure 50.4).