Algorithms and Complexity - Wilf Herbert S. (Prentice- Hall, New jersey, 1986)