fermat: with only paper and pencil available, Pierre Fermat studied prime numbers, and methods for finding factors of composite numbers. One of his methods uses an interesting algebraic approach to determine a factorization n = f1 * f2 for any integer n. For certain problems, this method is much faster than simply trying every possible divisor of n.
Lecture notes: