NZMATH 3.0.1 (Python Calculator on Number Theory)

Introduction

NZMATH is a Python calculator on number theory. It is freely available and distributed under the BSD license. All programs are written only by Python so that you can easily see their algorithmic number theory. You can get NZMATH here: https://sourceforge.net/projects/nzmath/files/nzmath/

This release contains several program corrections and additions obtained by writing a programming "notebook" of the book 'Lectures on Elementary Number Theory' (TAKAGI, Teiji) in Python-NZMATH language. The "notebook" itself is also available together with NZMATH calculator. It is designed for beginning students on algorithmic number theory to self-study Number Theory, Programming and scientific English together. It is possible only by running and reading the programs. You can get the "notebook" here: https://sourceforge.net/projects/nzmath/files/nzmath-enttakagi/

Installation

To install NZMATH on your computer, you must have Python 3.8 or later. If you don't have a copy of Python, please install it first. Python is available from https://www.python.org/ .

The next step is to expand the NZMATH-3.0.1.tar.gz. The way to do it depends on your operating system. On the systems with recent GNU tar, you can do it with a single command:

% tar xf NZMATH-3.0.1.tar.gz

Here % is the command line prompt. Or with standard tar, you can do it as:

% gzip -cd NZMATH-3.0.1.tar.gz | tar xf -

Then, you have a child directory named NZMATH-3.0.1 .

The third step is the last step, to install NZMATH to the standard python path. Usually, this means to write files to somewhere under /usr/lib or /usr/local/lib , and thus you have to have appropriate write permission. Typically, do as the following:

% cd NZMATH-3.0.1
% su
# python setup.py install

Depending on system, you may get SetuptoolsDeprecationWarning. Please do not worry for the moment. Installed NZMATH works well.

Usage

NZMATH is provided as a Python library package named 'nzmath', so please use it as a usual package. For more information please refer Tutorial.

Feedback

Your feedbacks are always welcomed. Please consider to join the mailing list.