CMIS 160 Discrete Math Applets

Logic

Boolean expression evaluator
Truth table maker

Binary numbers

Two's complement int
Overflow with byte addition
Floating-point format

Chap. 3: Prime numbers etc.

Prime numbers tester and generator
another better Prime number generator
Prime (unique) factorization
all 6542 prime numbers <64K (38KB)
all 78498 prime numbers <1M (538KB)
primes numbers <5M PNG image

Euclidean algorithm for GCD

Sequences

Sum of arithmetric and geometric sequences
Substrings of a string

Counting

Power set
Subsequences of a string

#Partitions
Combinations
Permutations
r Permutations

Draw binary tree
AB Binary Tree 5 PNG
AB Binary Tree 7 PNG