Is there any textbook which teaches abstract algebra and programming concurrently, focusing on perhaps the applications of abstract algebra to various computer-science related fields?

  • 1
    $\begingroup$ I do not see how abstract algebra can be used in programming... $\endgroup$
    – Idonknow
    Mar 8, 2020 at 12:34
  • 2
    $\begingroup$ Start with Donald Knuth. Then Cryptography perhaps ... Boolean Algebra ... Functional Programming ... $\endgroup$
    – rtybase
    Mar 8, 2020 at 12:37
  • 2
    $\begingroup$ Cox, Little, O'Shea - Ideals, varieties and algorithms includes a bit about programming robots. $\endgroup$
    – user11260
    Mar 8, 2020 at 13:16

1 Answer 1


Not exactly algebra and programming, but Meyer, Lehman, Leighton "Mathematics for Computer Science" (link is to lecture notes from which the book was forked) covers much of the mathematics used. Little algebra, very little programming as such. For a deeper look into algorithms, check out Erickson "Algorithms" (again, lecture notes that gave a book). Heavy on algorithms, lighter on math.

For programming as such, look for a good text for the language that most interests you. You might also be interested in the books by Allen B. Downey, "Think ...", he wrote versions for Java, Python 2 and 3. They are available for free as PDFs too. They cover more of the "why" of doing something as of the nuts and bolts. Other good texts, not language bound as the previous ones, are Bentley's "Programming Pearls" (2nd edition), and Kernighan and Pike, "The Practice of Programming".


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.