Expected Number of Restriction Sites

Solution to Rosalind Problem 047: Expected Number of Restriction Sites