# JavaScripts

## Mary

## Cyptography and Number Theory

- Shift ciphers
- Relative frequencies of letters in English
- Viginère ciphers
- Breaking Viginère ciphers with monographic frequency counts
- The sieve of Eratosthenes in action
- Generating primes by sieving
- The Jacobi symbol
- Bezout's equation
- Primality testing with Fermat's little theorem
- Multiple precision arithmetic
- Multiple precision arithmetic using strings
- Multiple precision arithmetic using Java
- "Stupidest known algorithm" for factoring

## Calculus

- Graphs of derivatives Java applet. You pull a graph around, it draws the derivative.
- Draw the derivative Java applet. You try to draw the derivative of a given graph.

## Interest

- Interest
- Present value

## Modern algebra and other things

- Elliptic curves
- Division algorithm in Z[√2]
- Counting Gaussian integers in a disk
- Bezout's equation for Z
- Bezout's equation for Gaussian integers
- Bezout's equation for Gaussian integers and Z[√2]
- Pascal's triangle modulo
*n*
- Equivalence of antilogisms
- Continued fractions
- Manipulating poynomials in two variables
- Umbral calculus modulo
*p*
- Sums of cubes
*x*^{3} + *y*^{3} + *z*^{3} = *w*^{3}
- Fibonacci sequences with Java
- Pell's equation from Ray Mines
- The Saint Petersburg Paradox for class on mathematical ideas.

## Liberal arts mathematics

Table of contents
Red sections are generally links to JavaScripts.
## One shot mysterious stuff

- Powers of 3 checked for repeated multisets of digits
- Something about general syllogisms
- Bounce