CLAESSON, A. Counting Segmented Permutations Using Bicoloured Dyck Paths. The Electronic Journal of Combinatorics, v. 12, n. 1, p. R39, 17 Aug. 2005.