Wolfram Library Archive


Courseware Demos MathSource Technical Notes
All Collections Articles Books Conference Proceedings
Title

Introduction to Number Theory: A Computational Approach
Authors

Lusine Sukiasyan
Charles Pooh
Organization: Wolfram
Book information

Publisher: Wolfram Media
Copyright year: 2026
ISBN: 9781579551148
Medium: ebook
Buy this book
Book cover image
Contents

Preface
Introduction
What Is Number Theory?
Integers: The Basics
Primes and Composites
Part 1 Exercises
Primes and Divisibility
Prime Factorization
Multiples and Divisors
Greatest Common Divisor
Part 2 Exercises
Modular Arithmetic
Congruences
Modular Arithmetic
Chinese Remainder Theorem
Part 3 Exercises
Continued Fractions
Real Number Representations
Continued Fractions
Best Rational Approximations
Part 4 Exercises
Diophantine Equations
Diophantine Equations
Linear Diophantine Equations
Diophantine Equations of Degree 2
Part 5 Exercises
Cryptography
Cryptography
The RSA Algorithm
Part 6 Exercises
Additional Topics
Primality Testing: Miller–Rabin
Factorization: Pollard's Rho
Diophantine Equations: Hilbert's Tenth Problem
The Riemann Zeta Function
Special Numbers
Numeral Systems
Part 7 Exercises
Description

This book offers a friendly introduction to number theory from a computational perspective. It starts with the basics, such as divisibility, prime numbers and congruences, and then gradually progresses to more advanced topics like continued fractions, Diophantine equations and cryptography. Abstract ideas are presented in a way that makes them concrete and approachable, with examples that can be explored computationally.

Each chapter is thoughtfully structured to build on the previous ones, and the book is organized into seven key parts, each accompanied by exercises (with solutions) that encourage independent problem solving and verification of results. Readers can download the free interactive ebook version to engage directly with live Wolfram Language code. This book is ideal for students, self-learners and anyone curious about the underlying arithmetic of modern mathematics.
Subject

*Mathematics > Number Theory