Home > Store > Programming

larger cover

Add To My Wish List

Art of Computer Programming, Volume 4A, The: Combinatorial Algorithms, Part 1

Register your product to gain access to bonus material or receive a coupon.

  • Description
  • Extras
  • Reviews
  • Sample Content
  • Updates

Product Author Bios

Donald E. Knuth is known throughout the world for his pioneering work on algorithms and programming techniques, for his invention of the TEX and METAFONT systems for computer typesetting, and for his prolific and influential writing (26 books, 161 papers). Professor Emeritus of The Art of Computer Programming at Stanford University, he currently devotes full time to the completion of his seminal multivolume series on classical computer science, begun in 1962 when he was a graduate student at California Institute of Technology. Professor Knuth is the recipient of numerous awards and honors, including the ACM Turing Award, the Medal of Science presented by President Carter, the AMS Steele Prize for expository writing, and, in November, 1996, the prestigious Kyoto Prize for advanced technology. He lives on the Stanford campus with his wife, Jill.

Finally, after a wait of more than thirty-five years, the first part of Volume 4 is at last ready for publication. Check out the boxed set that brings together Volumes 1 - 4A in one elegant case, and offers the purchaser a $50 discount off the price of buying the four volumes individually.

 

The Art of Computer Programming, Volumes 1-4A Boxed Set, 3/e

ISBN: 0321751043 

 

 

The Art of Computer Programming, Volume 4A:  Combinatorial Algorithms, Part 1

 

Knuth’s multivolume analysis of algorithms is widely recognized as the definitive description of classical computer science. The first three volumes of this work have long comprised a unique and invaluable resource in programming theory and practice. Scientists have marveled at the beauty and elegance of Knuth’s analysis, while practicing programmers have successfully applied his “cookbook” solutions to their day-to-day problems.

 

The level of these first three volumes has remained so high, and they have displayed so wide and deep a familiarity with the art of computer programming, that a sufficient “review” of future volumes could almost be: “Knuth, Volume n has been published.”

Data Processing Digest

 

Knuth, Volume n has been published, where n = 4A.

 

In this long-awaited new volume, the old master turns his attention to some of his favorite topics in broadword computation and combinatorial generation (exhaustively listing fundamental combinatorial objects, such as permutations, partitions, and trees), as well as his more recent interests, such as binary decision diagrams.

 

The hallmark qualities that distinguish his previous volumes are manifest here anew: detailed coverage of the basics, illustrated with well-chosen examples; occasional forays into more esoteric topics and problems at the frontiers of research; impeccable writing peppered with occasional bits of humor; extensive collections of exercises, all with solutions or helpful hints; a careful attention to history; implementations of many of the algorithms in his classic step-by-step form.

 

There is an amazing amount of information on each page. Knuth has obviously thought long and hard about which topics and results are most central and important, and then, what are the most intuitive and succinct ways of presenting that material. Since the areas that he covers in this volume have exploded since he first envisioned writing about them, it is wonderful how he has managed to provide such thorough treatment in so few pages.

–Frank Ruskey, Department of Computer Science, University of Victoria

 

The book is Volume 4A, because Volume 4 has itself become a multivolume undertaking. Combinatorial searching is a rich and important topic, and Knuth has too much to say about it that is new, interesting, and useful to fit into a single volume, or two, or maybe even three. This book alone includes approximately 1500 exercises, with answers for self-study, plus hundreds of useful facts that cannot be found in any other publication. Volume 4A surely belongs beside the first three volumes of this classic work in every serious programmer’s library.

Author's Site

Please visit the companion site at http://www-cs-faculty.stanford.edu/~knuth/.

Customer Reviews

42 of 48 people found the following review helpful
5.0 out of 5 stars A gorgeous classic on Combinatorial thought, February 2, 2011
By 
Ed Pegg "Math puzzler" (Champaign) - See all my reviews
(VINE VOICE)    (TOP 100 REVIEWER)    (REAL NAME)   
Amazon Verified Purchase(What's this?)
This review is from: The Art of Computer Programming, Volume 4A: Combinatorial Algorithms, Part 1 (Hardcover)
Knuth has written many books considered classics. Some of the previous works have been set-up for where the real fun is - Combinatorics. In one of my own columns, I say "Never trust the brute-force power of a computer network to do the job of a combinatorialist." In 1967, John P. Robinson and Arthur J. Bernstein published an optimal Golomb ruler with 24 marks (OGR24). Their solution was confirmed in 2004 by a massive distributed effort using tens of thousand of computer years.

Knuth is attempting to discuss all the algorithms that will still be important 50 years from now. The amount of speed given using these algorithms is staggering.

Some examples topics in the book:
Page 222 - Algorithm S: Breadth-first synthesis of BDDs
Page 293 - Balanced and Complementary Gray codes.
Page 424 - Stirling numbers and set partitions.
Page 449 - Generating binary trees

Helpful mathematical illustrations feature prominently throughout the book,... Read more
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


17 of 22 people found the following review helpful
5.0 out of 5 stars It was a long wait..., March 2, 2011
By 
Scott in LA (Los Angeles, USA) - See all my reviews
Amazon Verified Purchase(What's this?)
This review is from: The Art of Computer Programming, Volume 4A: Combinatorial Algorithms, Part 1 (Hardcover)
Over 30 years, whew! I'm very pleased to be able to add this volume to the other three (I've had to replace volumes 1 and 3 because I wore out my first copies). And, I'm very glad I don't have to complete a graduate course that would use this volume as a text, I'm not sure I'd have the stamina to make it though. Thank you, Dr. Knuth, for your guidance and challenges. They certainly made a significant difference in the success of my career. I'm sure that those of you who delve into this volume will be enlightened by it as well. I'm not qualified to technically critique or perhaps even understand a lot of the material in this book, but at least I'll have the rest of my life to try. Now, doesn't he still owe us one more?
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


3 of 5 people found the following review helpful
5.0 out of 5 stars No review needed, March 5, 2012
By 
Allyn Rothman (Commack, New York United States) - See all my reviews
(REAL NAME)   
Amazon Verified Purchase(What's this?)
This review is from: The Art of Computer Programming, Volume 4A: Combinatorial Algorithms, Part 1 (Hardcover)
For anyone who has the first three volumes of "The Art of Computer Programming", a review of the fourth is completely unnecessary. If you don't yet own the first three, buy the whole set of four at a significant discount. More than half of the 900 pages is "Answers to Exercises", whose coverage of the topic is encyclopedic. If you want to know what Dr. Knuth has been doing the last 30 years, here is the answer. What is amazing is that this volume, number 4A, is evidently a prelude for more to come.
Help other customers find the most helpful reviews 
Was this review helpful to you? Yes No


Share your thoughts with other customers:
 See all 4 customer reviews...

Preface

Download the Preface for this book.

Table of Contents

Preface

Notes on the Exercises

 

Chapter 7: Combinatorial Searching 1

7.1: Zeros and Ones 47

7.2: Generating All Possibilities 281

 

Answers to Exercises 514

 

Appendix A: Tables of Numerical Quantities 818

Appendix B: Index to Notations 822

Appendix C: Index to Algorithms and Theorems 828

Appendix D: Index to Combinatorial Problems 830

 

Index and Glossary 834

Errata

Pages missing from the third printing (pages 563 and 564)

Please also visit the companion site at for additional updates http://www-cs-faculty.stanford.edu/~knuth/.

 
Buy

Book  $79.99  $63.99

Usually ships in 24 hours.

This book includes free shipping!

Purchase Reward: One Month Free Subscription
By completing any purchase on InformIT, you become eligible for an unlimited access one-month subscription to Safari Books Online.

Get access to thousands of books and training videos about technology, professional development and digital media from more than 40 leading publishers, including Addison-Wesley, Prentice Hall, Cisco Press, IBM Press, O'Reilly Media, Wrox, Apress, and many more. If you continue your subscription after your 30-day trial, you can receive 30% off a monthly subscription to the Safari Library for up to 12 months. That's a total savings of $199.