4

Finding Patterns in Sequences

Image

Humans are hardwired to look for patterns and predict what comes next. Patterns can be complicated in the real world, with lots of variables and outcomes in time (when will the moon be full again?) or space (is there a bear in that cave?). In this chapter, we’ll explore the patterns found in sequences of numbers. You’ll learn how to uncover the rules for how a sequence is formed and how to predict later numbers in the sequence.

What Are Sequences?

A sequence is just a list of numbers. The numbers are listed in a particular order—there’s a first number, a second number, a third number, and so on—so we can say that ...

Get Math Hacks for Scratch now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.