Library of Congress Cataloging-in-Publication Data

Graham, Ronald Lewis, 1935-2020
    Concrete mathematics : a foundation for computer science / Ronald
  L. Graham, Donald E. Knuth, Oren Patashnik. -- 2nd ed.
  xiii,657 p. 24 cm.
  Bibliography: p. 604
  Includes index.
  ISBN 978-0-201-55802-9
  1. Mathematics.  2. Computer science--Mathematics.  I. Knuth,
Donald Ervin, 1938-    .  II. Patashnik, Oren, 1954-     . III. Title.
QA39.2.G733 1994
510--dc20                                                       93-40325
                                                                  CIP

Internet page [https://www-cs-faculty.stanford.edu/~knuth/gkp.html](https://www-cs-faculty.stanford.edu/~knuth/gkp.html) contains current information about this book and related books.

Reproduced by Addison–Wesley from camera-ready copy supplied by the authors.

Copyright © 1994, 1989 by Addison–Wesley Publishing Company, Inc.

All rights reserved. This publication is protected by copyright, and permission must be obtained from the publisher prior to any prohibited reproduction, storage in a retrieval system, or transmission in any form or by any means, electronic, mechanical, photocopying, recording, or likewise. For information regarding permissions, request forms, and the appropriate contacts within the Pearson Education Global Rights & Permissions Department, please visit [www.pearson.com/en-us/global-permission-granting.html](http://www.pearson.com/en-us/global-permission-granting.html) .

ISBN-13   978-0-201-55802-9
ISBN-10           0-201-55802-5

Thirty-Ninth printing, January 2026
$PrintCode