Answer: What Comes Next? #450

The answer is B: 163.

The finished pattern: 31, 53, 75, 97, 119, 141, 163.
The finished pattern.

The rule

Add 22 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 = 31
for step in range(7):
    print(number)
    number = number + 22

When you run it, Python prints:

31
53
75
97
119
141
163

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