Hacker ApprovedDepartments

Mathematics for Computer Science

Mathematics for Computer Science by Lehman, Leighton and Meyer

by Lehman, Leighton and Meyer

Ranked 2 of 20 mathematics textbooks by recommenders

People recommend it as a valuable, witty discrete math and probability text that is free as a full PDF. Critics say it lacks solutions, which makes self-study harder.

People recommend it as a valuable, witty discrete math and probability text that is free as a full PDF. Critics say it lacks solutions, which makes self-study harder.

12 people gave an opinion

recommend it
8
criticize it
4
approval share
67%
Each figure is one person. RecommendsCriticizes

Recommended in 1 of 13 months

  1. November 2025: not recommended
  2. December 2025: not recommended
  3. January 2026: recommended
  4. February 2026: not recommended
  5. March 2026: not recommended
  6. April 2026: not recommended
  7. May 2026: not recommended
  8. June 2026: not recommended
  9. July 2026: not recommended
  10. August 2026: not recommended
  11. September 2026: not recommended
  12. October 2026: not recommended
  13. November 2026: not recommended (month in progress)

Why it doesn’t carry the badge

  • 8 people recommend itNeeds 10 or more, not met.
  • 2 recommenders for every criticNeeds 2 to 1 or better, met.
  • Recommended in 1 of 13 monthsNeeds 4 or more, not met.

The same three rules apply to every product, and the badge can’t be bought. How the badge works

What people say about it

The reasons people give, with the number of comments that give each one. Open a reason to read what they said.

Why people recommend it

Each mark is one comment

  • Valuable resource, understandable despite difficulty

    “I really love this book, it is hard af but I still can understand 1-2 pages of each paragraph.”

    Comment from 9 Jan 2026 in “Mathematics for Computer Science (2018) [pdf]”

    “This is a very valuable resource for me.”

    Comment from 9 Jan 2026 in “Mathematics for Computer Science (2018) [pdf]”
  • Available as free PDF or paper

    “I've literally been looking for this recently and now I get it as a full PDF.”

    Comment from 9 Jan 2026 in “Mathematics for Computer Science (2018) [pdf]”

    “I prefer paper for dipping into and working through bits and pieces.”

    Comment from 9 Jan 2026 in “Mathematics for Computer Science (2018) [pdf]”

What people warn about

Each mark is one comment

  • No solutions for self-study

    “without solutions it makes it much harder to use for self-study”

    Comment from 9 Jan 2026 in “Mathematics for Computer Science (2018) [pdf]”
  • Too much packed into one book

    “I'm not such a fan of trying to cram everything-mathematically-relevant into a single huge book”

    Comment from 9 Jan 2026 in “Mathematics for Computer Science (2018) [pdf]”
  • Missing proof of circular buffers

    “It did not see the proof of the correctness of circular buffers?”

    Comment from 9 Jan 2026 in “Mathematics for Computer Science (2018) [pdf]”
  • Focuses on numbers over relations

    “seems more about the numbers than relations”

    Comment from 9 Jan 2026 in “Mathematics for Computer Science (2018) [pdf]”

Other mathematics textbooks people recommend

The four most recommended other mathematics textbooks, with the same counts for each, so you can compare like for like. The tick on each bar marks the 2 to 1 line the badge needs.

Mathematics for Computer Science by Lehman, Leighton and Meyer compared with 4 alternatives
ProductRecommendCriticizeApprovalMonthsOwnedBadge
Algorithms for Optimizationby Kochenderfer and Wheeler10191%1——
Mathematics for Computer Scienceby Lehman, Leighton and MeyerThis page8467%1——
Numerical Recipesby Press et al.7188%5——
Concrete Mathematicsby Graham, Knuth and Patashnik70100%4——
Start Doing Graph Theoryby Sam Burns7188%1——
See all 20 mathematics textbooks, ranked

What people said

11 of the 13 comments that mention it, newest first. Each links to the original comment.

“without solutions it makes it much harder to use for self-study”

CriticizesComment from 9 Jan 2026 in “Mathematics for Computer Science (2018) [pdf]”

“the writing is witty, full of MIT humor”

RecommendsComment from 9 Jan 2026 in “Mathematics for Computer Science (2018) [pdf]”

“I'm not such a fan of trying to cram everything-mathematically-relevant into a single huge book”

CriticizesComment from 9 Jan 2026 in “Mathematics for Computer Science (2018) [pdf]”

“I prefer paper for dipping into and working through bits and pieces.”

RecommendsComment from 9 Jan 2026 in “Mathematics for Computer Science (2018) [pdf]”

“This is a very valuable resource for me.”

RecommendsComment from 9 Jan 2026 in “Mathematics for Computer Science (2018) [pdf]”

“I love that each citation has back references to _all_ the places that it is cited from.”

RecommendsComment from 9 Jan 2026 in “Mathematics for Computer Science (2018) [pdf]”

“The probability section is great, especially how they handle the Monty Hall paradox.”

RecommendsComment from 9 Jan 2026 in “Mathematics for Computer Science (2018) [pdf]”

“It did not see the proof of the correctness of circular buffers?”

CriticizesComment from 9 Jan 2026 in “Mathematics for Computer Science (2018) [pdf]”

“seems more about the numbers than relations”

CriticizesComment from 9 Jan 2026 in “Mathematics for Computer Science (2018) [pdf]”

“I've literally been looking for this recently and now I get it as a full PDF.”

RecommendsComment from 9 Jan 2026 in “Mathematics for Computer Science (2018) [pdf]”

“I really love this book, it is hard af but I still can understand 1-2 pages of each paragraph.”

RecommendsComment from 9 Jan 2026 in “Mathematics for Computer Science (2018) [pdf]”

Counts come from 1,795,640 Hacker News comments, November 2025 to November 2026. How we count. Report a mistake.