Implementing discrete mathematics Combinatorics and graph theory with mathematica - Skiena, Steven (Addison-Wesley, 1990)
With programs by Steven Skiena and Anil Bhansali