Skip to content

Latest commit

 

History

History
7 lines (4 loc) · 1.28 KB

README.md

File metadata and controls

7 lines (4 loc) · 1.28 KB

Python-for-number-theory

This repository contains a series of introductory instructional python notebooks, for computational number theory. It is designed to introduce the Python programming languages to students who have (1) never programmed before and (2) are studying number theory. It accompanies the book An Illustrated Theory of Numbers, by Martin H. Weissman. See The book homepage for more details about the book, and The programming tutorial for more about these notebooks and learning Python.

Those who are teaching elementary number theory, with or without the book, may be interested in using the notebooks with students. They proceed through standard programming concepts: variables, types, simple data structures, loops, control statements, functions. At the same time they implement important number theoretic algorithms such as the Euclidean algorithm, prime factorization and primality testing, various algorithms in modular arithmetic, etc.

All notebooks are free to download and edit under a GPLv3. Please read the LICENSE for more information.