Complexity of LoopsPractical catalog of loop patterns: additive, multiplicative, nested, square-root, harmonic, and while loops.