Locally Convex Words and Permutations
arXiv:1410.7818
Abstract
We introduce some new classes of words and permutations characterized by the second difference condition , which we call the -convexity condition. We demonstrate that for any sized alphabet and convexity parameter , we may find a generating function which counts -convex words of length . We also determine a formula for the number of 0-convex words on any fixed-size alphabet for sufficiently large by exhibiting a connection to integer partitions. For permutations, we give an explicit solution in the case and show that the number of 1-convex and 2-convex permutations of length are and , respectively, and use the transfer matrix method to give tight bounds on the constants and . We also providing generating functions similar to the the continued fraction generating functions studied by Odlyzko and Wilf in the "coins in a fountain" problem.
20 pages, 4 figures