Answer: What Comes Next? #223

The answer is C: 41.

The finished pattern: 5, 11, 17, 23, 29, 35, 41.
The finished pattern.

The rule

Add 6 each time.

The pattern as Python code

Here is a tiny Python program that follows the same rule. Type it into IDLE and run it to print the whole pattern, including the answer.

number = 5
for step in range(7):
    print(number)
    number = number + 6

When you run it, Python prints:

5
11
17
23
29
35
41

Pixel says: Try changing a number in the code and run it again. Can you make the pattern go on for 20 steps? Meow!