2 ms·
I found the following book to be great introduction: https://www.amazon.com/Factorization-Primality-Testing-Undergraduate-Mathematics/dp/0387970401 https://www.
by phkahler 5y ago
I found the following book to be great introduction:
https://www.amazon.com/Factorization-Primality-Testing-Undergraduate-Mathematics/dp/0387970401 https://www.amazon.com/Factorization-Primality-Testing-Under...
It focuses on factoring and primality testing, but it also covers a lot of introductory number theory. IIRC it also covers continued fractions as used for factoring and the quadratic sieve and MPQS. The pseudo-code given in the book is very easy to translate into python, which supports large integers and efficient exponentiation mod P.