THE READING ROOM / BOOK GUIDE
Concrete mathematics
A mathematics text for people who write and analyze computer programs, treating sums, recurrences, and generating functions as working tools.
About the book
Concrete Mathematics grew out of a course for Stanford computer science students who needed the mathematics that algorithms use. Graham, Knuth, and Patashnik cover continuous and discrete mathematics together, and the title marks that blend: concrete methods for concrete problems, with emphasis on technique rather than proof for its own sake. The book keeps the problem-driven character of its teaching materials.
The core material covers sums and recurrences, integer functions, binomial coefficients, generating functions, and discrete probability, developed with an eye toward analyzing algorithms and counting structures. Notation is introduced carefully and then used, so the symbolic machinery becomes familiar through repetition. Exercises are graded by difficulty, and the harder ones carry substantial hints and solutions, which makes the book usable for self-study as well as coursework.
Marginal notes run alongside the main text, offering commentary, corrections, and connections to related ideas. They give the book a conversational texture unusual in a mathematics text. The main line of argument stays rigorous and cumulative.
How to read it
Read with paper and pencil. The text rewards working through derivations rather than reading them passively, and many sections build on manipulations established earlier. Skipping the exercises removes much of the book's value, since the problems are where techniques get tested and extended.
The difficulty rises steeply. Early chapters are accessible to readers with solid algebra and some comfort with proof, but later material on generating functions and asymptotics demands persistence. The graded exercise structure helps: start with the easier problems in each section before attempting the harder ones, and use the provided solutions when stuck rather than avoiding them.
Who it suits
This suits computer science students and working programmers who want the mathematical grounding behind algorithm analysis, and mathematics readers curious about how discrete techniques are taught to a computational audience. Readers preparing for graduate study in algorithms or combinatorics will find the treatment of sums, recurrences, and generating functions especially useful. Those who prefer a brisk survey should look elsewhere; the book expects sustained engagement.
Reading considerations
The book assumes mathematical maturity and a willingness to do exercises; it is not a gentle introduction to discrete mathematics. Later printings revise material and correct errors, so check which one you have before relying on specific exercise numbering or solutions. The annotations, while helpful, can distract from the main argument if read too closely on a first pass.
Follow the HN conversation
140 different recommenders are recorded in the upstream dataset. These are AI-classified source counts, not an independent rating.
Search HN comments about this book ↗
Explore videos on the same subject ↗
Book notes prepared with DeepSeek, using catalogue records and Open Library subject information. They are reading guidance, not a personal review or a verified chapter-by-chapter account. Book details can vary by edition. HN data methodology · Book metadata and covers.
