The Number of Permutations With A Prescribed Number of 132 and 123 Patterns
arXiv:math/9903170
Abstract
Here we present the reasoning behind, and program to find, the generating functions for the number of permutations in the title. The article duals as the "accompanying" Maple package.
3 page plain text file which duals as a Maple program