Chapter 18 - Patterns and Sequences