352 | Chapter 2 Outline |
Sections, concepts, and problems
2.1. Algorithms. Algorithms, pseudocode for describing them,
and two examples of search algorithms: linear and binary
search algorithms. Each algorithms has an input and
output; the correct output should be obtained after a finite
number of steps. (You might have learned your first algorithm when
you learned to tie your shoes.)
2.2. Complexity of algorithms. Time complexity of algorithms
and big-O estimates of this quantity.
2.3. The integers and division. Divisibility, the fundamental
theorem of arithmetic, the division algorithm, greatest common divisors,
least common multiples, modular arithmetic.
2.4. Integers and algorithms. The Euclidean Algorithm (for
finding the gcd of 2 integers) and an algorithm for converting an
integer from base 10 to another base b.
2.5. Applications of number theory. Writing the gcd of two positive integers as a Z-linear combination of the two integers, multiplicative inverses (mod m) and when they exist, linear congruences, the Chinese Remainder Theorem, Fermat's Little Theorem.
2.6. Matrices. Addition and multiplication of matrices, the transposes, symmetric matrices, diagonal matrices, the identity matrix, inverses, zero-one matrices and their join, meet, and Boolean product.
Other Chapters |