Applying the Cluster Method to Count Occurrences of Generalized Permutation Patterns - Andrew M. Baxter (2009)