Generating trees and pattern avoidance in alternating permutations - Joel Brewster Lewis (2010)