Chen, X., and W. Chu. “Enumeration of Restricted Permutation Triples”. The Electronic Journal of Combinatorics, Vol. 17, no. 1, Oct. 2010, p. R131, doi:10.37236/403.