The Number of Permutations With A Prescribed Number of 132 and 123 Patterns
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.