Elementary Number Theory

Prerequisite path Preparation & skip guidance · Proofs & Mathematical Writing

Studying Elementary Number Theory

Elementary number theory turns experiments with integers into proofs about divisibility and congruences. Stein develops that route with Euclidean algorithms, modular arithmetic and quadratic reciprocity. Shoup connects integer and finite-field arithmetic to algorithms and cryptography. Choose the first route to strengthen proof and congruence skills; choose the computational continuation when you can explain an algorithm's correctness as well as produce its output.

What to work on

  • Use the Euclidean algorithm and Bezout's identity.
  • Solve congruences and apply the Chinese remainder theorem.
  • Compute modular inverses and powers with stated coprimality conditions.
  • Use quadratic reciprocity and Euler's criterion.

A starting text

Elementary Number Theory: Primes, Congruences, and Secrets — William Stein. Read 1.1 on factorization and the Euclidean algorithm; 2.1-2.3 on congruences, the Chinese remainder theorem, inverses and powers; then 4.1-4.3 on quadratic reciprocity and Euler's criterion.

Choosing what to read

Run the extended Euclidean algorithm by hand and interpret its coefficients as a proof of a modular inverse. Solve a Chinese remainder problem, then verify the solution in every modulus. List small quadratic residues before applying reciprocity, keeping track of the parity signs. For an algorithmic example, separate correctness, termination and cost. Test a calculation on small inputs, but explain why the proof covers all permitted inputs rather than using numerical evidence as the final argument.

Elementary Number Theory: Primes, Congruences, and Secrets

Connect Euclid's algorithm, modular inverses and quadratic residues.

How it reads
Proof-based arithmetic with explicit congruence and reciprocity calculations.
What it expects
Integer arithmetic and introductory proofs.
What to keep in mind
Cryptography and elliptic curves are optional continuations; the selected arithmetic route does not cover their full foundations.
Practice
Public exercises and an Answers and Hints section are present. It contains selected answers and proof hints, not a verified complete worked solution manual. Sections 1.3, 2.6 and 4.6 contain the exercise sets. Answers and Hints begins on printed page 149; match the chapter and exercise number.
Edition, reading range and source

Read 1.1 on factorization and the Euclidean algorithm; 2.1-2.3 on congruences, the Chinese remainder theorem, inverses and powers; then 4.1-4.3 on quadratic reciprocity and Euler's criterion.

Source · Checked 2026-10-16

A Computational Introduction to Number Theory and Algebra

Study correctness and complexity after elementary congruences are comfortable.

How it reads
Algorithmic number theory and algebra leading toward cryptography.
What it expects
Arithmetic and proof-writing; extra algebra for finite-field and later material.
What to keep in mind
Running an algorithm is insufficient preparation for its algebraic proof or cryptographic applications.
Practice
Public worked solutions were not verified in the inherited catalogue; check the author edition's exercise support.
Edition, reading range and source

Locate integer arithmetic and finite-field algorithms through the author's contents; exact section numbering was not inherited.

Source · Checked 2026-10-11

Practice

Congruence and quadratic-residue exercises with selected hints. Sections 1.3, 2.6 and 4.6 contain the exercise sets. Answers and Hints begins on printed page 149; match the chapter and exercise number.. Public exercises and an Answers and Hints section are present. It contains selected answers and proof hints, not a verified complete worked solution manual.

Try these before moving on

Try a proof or calculation before opening the hint. These solutions address the checks below, not the exercises in the linked textbooks.

  1. Use the extended Euclidean algorithm to find the inverse of 17 modulo 43, and solve x=2 modulo 3, x=3 modulo 5 and x=2 modulo 7, with a uniqueness statement.

    A hint

    Back-substitute the Euclidean divisions. Combine the congruences modulo 3 and 7 first.

    Work through the solution

    The divisions are 43=2⋅17+943=2\cdot17+9, 17=9+817=9+8, and 9=8+19=8+1. Back-substitution gives 1=2⋅9−17=2⋅43−5⋅171=2\cdot9-17=2\cdot43-5\cdot17. Thus 17−1≡−5≡38(mod43)17^{-1}\equiv-5\equiv38\pmod{43}, checked by 17⋅38=646=15⋅43+117\cdot38=646=15\cdot43+1.

    The conditions modulo 33 and 77 together mean x=2+21kx=2+21k for some integer kk, since these moduli are coprime. Modulo 55, this becomes 2+k≡32+k\equiv3, hence k=1+5mk=1+5m. Therefore x=23+105mx=23+105m for m∈Zm\in\mathbb Z. The value 2323 has residues 2,3,22,3,2 modulo 3,5,73,5,7. Any two solutions differ by an integer divisible by all three pairwise coprime moduli, hence by 105105, proving uniqueness modulo 105105.

    If this was the sticking point:

Already comfortable with this? Skip the congruence review if you can justify the inverse and CRT constructions. Skip the residue selection if reciprocity, its sign and the supplementary laws are usable without a table.

Review the prerequisites · Compare the full subject collection

Where this can lead

Reading-source dates
  • Elementary Number Theory: Primes, Congruences, and Secrets · 2026-10-16

Reading choices revised 2026-10-17.

Suggest an edit · Report a correction

Additional reading

Search the complete catalogue.

Introductory reading

Number Theory: In Context and Interactive

Karl-Dieter Crisman · Textbook · Introductory · English · Full-text access unverified

Introduces congruences, primes and reciprocity with geometric, computational and cryptographic examples. Online Sage examples support experimentation.

Preparation: Integer arithmetic and proof-writing; extra algebra for advanced sections.

Edition and sources

Version: June 2024 edition listed by AIM · Checked 2026-10-11

Elementary Number Theory

Gareth A. Jones and J. Mary Jones · Textbook · Introductory · English · Purchase / institutional access

Purchase or institutional access required; previews are not the complete book.

Begins with divisibility and primes before progressing to congruences and further arithmetic. Later parts benefit from elementary group theory.

Preparation: Integer arithmetic and proof-writing; extra algebra for advanced sections.

Edition and sources

Version: 1998 · Checked 2026-10-11

Number Theory

George E. Andrews · Textbook · Introductory · English · Purchase / institutional access

Purchase or institutional access required; previews are not the complete book.

A first-course presentation of integer arithmetic and classical number-theoretic problems. The linked publisher page is a purchase route, not an open full text.

Preparation: Integer arithmetic and proof-writing; extra algebra for advanced sections.

Edition and sources

Version: Dover reprint, 1994; original 1971 · Checked 2026-10-11

A Friendly Introduction to Number Theory

Joseph H. Silverman · Textbook · Introductory · English · Purchase / institutional access

Purchase or library subscription required; previews are not the complete book.

A problem-and-example based introduction to number-theoretic reasoning. Freely available omitted chapters are supplements, not the full paid text.

Preparation: School algebra; introductory proof-writing.

Use: Work through examples and exercises before advancing.

Edition and sources

Version: Fourth edition; international imprint 2014 · Checked 2026-10-11

Elementary Number Theory

Kenneth H. Rosen · Textbook · Introductory · English · Purchase / institutional access

Purchase or library subscription required; previews are not the complete book.

An introductory arithmetic course with algorithms and applications. Distinct from other authors’ books sharing this title.

Preparation: School algebra; proof-writing.

Use: Work through examples and exercises before advancing.

Edition and sources

Version: Seventh-edition current publisher listing; 2023 release / 2024 copyright · Checked 2026-10-11

Elementary Number Theory

Wissam Raji · Open textbook · Introductory · English · Online text

Licensed CC BY HTML book on LibreTexts; full chapter/section reading pages opened without login.

An undergraduate text on primes, congruences, arithmetic functions, quadratic residues and continued fractions, with later introductions to analytic topics.

Preparation: Elementary algebra and proof-writing; later chapters need analysis and abstract algebra.

Use: A first structured number-theory reading route, followed by selected advanced chapters.

Edition and sources

Version: LibreTexts open HTML edition; edition date not stated · Checked 2026-10-13

Elementary Number Theory

W. Edwin Clark; revised by Jim Hefferon · Textbook · Introductory · English · PDF

Reviser's university-hosted archive provides the complete 82-page PDF; its notice permits noncommercial redistribution.

Develops divisibility, prime numbers, congruences, arithmetic functions, primality tests and public-key cryptography through short theorem-based chapters.

Preparation: School algebra; basic sets and functions. Calculus I is suggested in the preface, chiefly for mathematical maturity.

Use: Build proof-writing skill while learning elementary arithmetic theory.

Edition and sources

Version: Hefferon revision December 2003; PDF compiled January 5, 2004 · Checked 2026-10-13

Intermediate reading

A Computational Introduction to Number Theory and Algebra

Victor Shoup · Textbook · Intermediate · English · Full-text access unverified

Connects integer and finite-field arithmetic with algorithms and cryptography. A computational route complementing a traditional proof-based number theory course.

Preparation: Integer arithmetic and proof-writing; extra algebra for advanced sections.

Edition and sources

Checked 2026-10-11

Topology of Numbers

Allen Hatcher · Textbook · Intermediate · English · PDF

Full author/institution PDF; check source terms before any redistribution.

Develops elementary number theory through Farey diagrams, continued fractions and quadratic forms. Offers a geometric route toward class groups.

Preparation: Integer arithmetic and proof-writing; extra algebra for advanced sections.

Edition and sources

Version: Print 2022; author PDF is a minor revision · Checked 2026-10-11

Number Theory: An Introduction to Mathematics

W. A. Coppel · Textbook · Intermediate · English · Purchase / institutional access

Purchase or library subscription required; previews are not the complete book.

Uses number theory as a meeting point of algebra, analysis and mathematical reasoning. A broader bridge beyond a first congruence course.

Preparation: Proof-writing; elementary algebra.

Edition and sources

Version: Second edition, 2009 · Checked 2026-10-11

Number Theory: Structures, Examples, and Problems

Dorin Andrica and Titu Andreescu · Textbook · Intermediate · English · Purchase / institutional access

Purchase or library subscription required; previews are not the complete book.

A problem-centered route through number-theoretic structures. Solve the examples actively before moving to local or analytic methods.

Preparation: Elementary number theory; proof-writing.

Edition and sources

Version: 2009 · Checked 2026-10-11

Number Theory: An Introduction via the Distribution of Primes

Benjamin Fine and Gerhard Rosenberger · Textbook · Intermediate · English · Purchase / institutional access

Purchase or library subscription required; previews are not the complete book.

Builds a bridge from elementary arithmetic to questions about prime distribution. Later analytic portions require stronger analysis preparation.

Preparation: Elementary number theory; calculus and complex analysis for later material.

Edition and sources

Version: Second edition, 2016 · Checked 2026-10-11

A Classical Introduction to Modern Number Theory

Kenneth Ireland and Michael Rosen · Textbook · Intermediate · English · Purchase / institutional access

Purchase or library subscription required; previews are not the complete book.

Bridges elementary arithmetic and modern algebraic number theory. Later topics require algebra beyond an introductory congruence course.

Preparation: Elementary number theory; abstract algebra.

Edition and sources

Version: Second edition, 1990 · Checked 2026-10-11

Number Theory (Northeastern Math 3527 and 4527 notes)

Evan Dummit · Lecture-note collection · Intermediate · English · Online text

Official complete course/text index and linked reading material opened without login.

Ten parts move from integer arithmetic and congruences to cryptography, approximation, elliptic curves, quadratic rings and geometry of numbers.

Preparation: Proof-writing and school algebra; abstract algebra for later parts.

Use: Use as a foundation-to-upper-undergraduate sequence.

Edition and sources

Version: Spring/Fall 2022 collection on the author's notes page · Checked 2026-10-13

An (Algebraic) Introduction to Number Theory

Kimball Martin · Long lecture notes · Intermediate · English · PDF

Full PDF opened publicly on the author or university host.

Moves from integer arithmetic to rings, quadratic and cyclotomic examples, factorization, congruences and sums of squares. Later chapters are drafts or outlines.

Preparation: Proof-writing and elementary algebra; rings and fields are introduced in the notes.

Use: Connect elementary number theory with algebraic structures without treating unfinished later chapters as a complete advanced course.

Edition and sources

Version: Fall 2024; revised 25 November 2024 · Checked 2026-10-13