Skip to main content
56 INTERACTIVE PROGRAMS

Number Theory Apps

Calculators, tables, and step-by-step demonstrations used throughout the labs. Everything runs in your browser.

56 programs

๐ŸงฎBasics

GCD

Greatest common divisor calculator

Open โ†—
๐ŸงฎBasics

GcdTab

Table of greatest common divisors

Open โ†—
๐ŸงฎBasics

SimpleEuAlgDem

Simple Euclidean algorithm step by step

Open โ†—
๐ŸงฎBasics

EuAlgDem

Advanced Euclidean algorithm demonstration

Open โ†—
๐ŸงฎBasics

LnComTab

Table of integral linear combinations

Open โ†—
๐Ÿ”Primes

Factor

Canonical factorization into prime powers

Open โ†—
๐Ÿ”Primes

FacTab

Table of least prime divisors

Open โ†—
๐Ÿ”Primes

SieveOfEratosthenes

Visual demonstration of the sieve

Open โ†—
๐Ÿ”Primes

GetNextP

Finds the next prime number

Open โ†—
๐Ÿ”Primes

Pi

Counts the primes not exceeding x

Open โ†—
๐Ÿ”Primes

SPsP

Runs the strong pseudoprime test

Open โ†—
๐Ÿ”Primes

SPsPDem

Strong pseudoprime test step by step

Open โ†—
๐Ÿ”Primes

ProveP

Proves that a given number is prime

Open โ†—
๐ŸงฉCongruences

CngArTab

Modular addition and multiplication tables

Open โ†—
๐ŸงฉCongruences

LinCon

Solves linear congruences

Open โ†—
๐ŸงฉCongruences

CRT

Chinese Remainder Theorem calculator

Open โ†—
๐ŸงฉCongruences

IntApTab

Intersection of arithmetic progressions

Open โ†—
๐ŸงฉCongruences

PascalsT

Pascalโ€™s triangle modulo n

Open โ†—
๐ŸงฉCongruences

PolySolv

Solutions of a polynomial modulo n

Open โ†—
๐ŸงฉCongruences

Power

Computes a power modulo n

Open โ†—
๐ŸงฉCongruences

PwrDem

Modular exponentiation step by step

Open โ†—
๐ŸงฉCongruences

FctrlTab

Table of factorials modulo n

Open โ†—
๐Ÿ”„Groups

Order

Multiplicative order calculator

Open โ†—
๐Ÿ”„Groups

OrderDem

Multiplicative order step by step

Open โ†—
๐Ÿ”„Groups

PowerTab

Table of powers modulo n

Open โ†—
๐Ÿ”„Groups

PrimRoot

Finds a primitive root modulo p

Open โ†—
๐Ÿ”„Groups

IndTab

Indices and powers for a primitive root

Open โ†—
๐Ÿ”„Groups

Ind

Discrete logarithm using Shanksโ€™ method

Open โ†—
๐Ÿ”„Groups

IndDem

Shanksโ€™ algorithm step by step

Open โ†—
๐Ÿ”„Groups

Phi

Eulerโ€™s totient function calculator

Open โ†—
๐Ÿ”„Groups

Car

Carmichael function calculator

Open โ†—
๐ŸงฐFactoring

Pโ€“1

Pollardโ€™s p โˆ’ 1 factorization method

Open โ†—
๐ŸงฐFactoring

Pโ€“1Dem

Pollardโ€™s p โˆ’ 1 method step by step

Open โ†—
๐ŸงฐFactoring

Rho

Pollardโ€™s rho factorization method

Open โ†—
๐ŸงฐFactoring

RhoDem

Pollardโ€™s rho method step by step

Open โ†—
๐Ÿ“Quadratic

Jacobi

Jacobi symbol calculator

Open โ†—
๐Ÿ“Quadratic

JacobDem

Jacobi symbol step by step

Open โ†—
๐Ÿ“Quadratic

JacobTab

Table of Jacobi symbols

Open โ†—
๐Ÿ“Quadratic

SqrtModP

Square root modulo p calculator

Open โ†—
๐Ÿ“Quadratic

SqrtDem

Square roots modulo p step by step

Open โ†—
๐Ÿ“Quadratic

QFormTab

Quadratic forms with a given discriminant

Open โ†—
๐Ÿ“Quadratic

Reduce

Reduces a binary quadratic form

Open โ†—
๐Ÿ“Quadratic

ClaNoTab

Displays a table of class numbers

Open โ†—
๐Ÿ“Quadratic

QuadraticPowerTab

Powers of a + bโˆšd

Open โ†—
๐Ÿ“Quadratic

QuadraticRingElements

Elements of โ„ค[โˆšd], their norms and irreducibility

Open โ†—
๐Ÿ“Quadratic

QuadraticRingFactorization

Decompositions of numbers in โ„ค[โˆšd]

Open โ†—
๐Ÿ“Quadratic

ContinuedFraction

Continued fraction of a + bโˆšd

Open โ†—
๐Ÿ“Quadratic

PCFEvaluator

Evaluates a periodic continued fraction

Open โ†—
๐Ÿ› ๏ธOther

ArFcnTab

Table of six arithmetic functions

Open โ†—
๐Ÿ› ๏ธOther

FFArTab

Finite-field arithmetic tables

Open โ†—
๐Ÿ› ๏ธOther

Hensel

Executes the Hensel lifting procedure

Open โ†—
๐Ÿ› ๏ธOther

HSortDem

Demonstrates the HeapSort algorithm

Open โ†—
๐Ÿ› ๏ธOther

PolynomialDiscriminant

Discriminant of a polynomial

Open โ†—
๐Ÿ› ๏ธOther

RSA

Encrypts and decrypts messages using RSA

Open โ†—
๐Ÿ› ๏ธOther

SumsPwrs

Writes n as a sum of powers

Open โ†—
๐Ÿ› ๏ธOther

TextToCode

Converts text to and from ASCII code

Open โ†—