Exercises: Mathematical Background
Exercises with solutions on summations, logarithms, factorials, induction, loop invariants, and recurrences.
Exercises with solutions on summations, logarithms, factorials, induction, loop invariants, and recurrences.
Mathematical and strong induction, proving recursive and iterative algorithms with loop invariants, and four methods to solve recurrences.
Arithmetic and geometric series, harmonic numbers, integral bounds, logarithm identities, and Stirling approximation for factorials.