Transformations on Words. - Foata, Dominique; Han, Guo-Niu (J. Algorithms, 1998)