Wilf, H. S. Algorithms and complexity - 2nd ed. - Massachusetts A K Peters, Ltd. 2002 - ix, 219p. ISBN: 1-56881-178-0