An Introduction to computational combinatorics. - Page, E. S. (Cambridge computer science texts, 1979)