Preface To Everyone
Welcome to Number Theory! This book is an introduction to the theory and practice of the integers, especially positive integers – the numbers. We focus on connecting it to many areas of mathematics and dynamic, computer-assisted interaction. Let's explore! Carl Friedrich Gauss, a great mathematician of the nineteenth century, is said to have quipped 1 that if mathematics is the queen of the sciences, then number theory is the queen of mathematics (hence the title of [E.5.4]). If you don't yet know why that might be the case, you are in for a treat.The question of what integers are possible areas of a right triangle seems very simple. Who could have guessed it would lead to fundamental advances in computer representation of elliptic curves?
There seems to be no nice formula for prime numbers, else we would have learned it in middle school. Yet who would have foreseen they are so very regular on average?
Taking powers of whole numbers and remainders while dividing are elementary and tedious operations. So why should taking remainders of tons of powers of whole numbers make online purchases more secure?
Basic questions about integers
Basic congruence arithmetic
Units, primitive roots, and Euler's function (via groups)
Basics of cryptography, primality testing, and factorization
Integer and rational points on conic sections
The theory and practice of quadratic residues
Basics of arithmetic functions
The prime counting function and related matters
Connecting calculus to arithmetic functions