Algorithms and complexity - Wilf, Herbert S. 1931-2012 (Prentice-Hall, 1986)