File: README.txt

package info (click to toggle)
mathomatic 14.0.6-2
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 1,108 kB
  • ctags: 659
  • sloc: ansic: 16,067; makefile: 160; python: 77; sh: 74
file content (21 lines) | stat: -rw-r--r-- 719 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
                        Mathomatic Prime Number Tools
                        -----------------------------

This directory contains some small, integer math programs written in C.  To
compile and install, type the following commands at the Unix shell prompt:

	make
	make test
	sudo make install

This will install:

	matho-pascal - display Pascal's triangle
	matho-primes - generate batches of consecutive prime numbers
	matho-sumsq - display minimum sum of the squares

The Python program "primorial" is included in this directory for calculating
large primorials from "matho-primes".  To generate a list of all unique
primorials from 2 to 97, type the following at the Unix shell:

	./primorial `matho-primes 2 97`