A Computational Introduction to Number Theory and Algebra

A book introducing basic concepts from computational number theory and algebra, including all the necessary mathematical background.

The book (now in its second edition) is published by Cambridge University Press. It can be purchased directly from Cambridge University Press, or from online book retailers.

Pay what you like: The book is freely available for download in PDF format under a Creative Commons license. If you find the book useful, please feel free to donate to the author whatever amount you would like by clicking on the paypal button below. And if you don't feel like donating, that's OK too.

Thanks for your help!


  • Version 2 [pdf] (6/16/2008, corresponds to the second print editon)
    • List of errata [pdf] (3/28/2017)

  • Version 1 [pdf] (1/15/2005, corresponds to the first print edition)
    • List of errata [pdf] (11/10/2007)
    • Supplementary material [pdf] (10/15/2006)
      • many additional exercises and examples
      • some alternative proofs and stronger theorems


Back to Victor Shoup's Home Page