Answer: What Comes Next? #445

The answer is C: 121.

The finished pattern: 25, 36, 49, 64, 81, 100, 121.
The finished pattern.

The rule

These are square numbers: 5 × 5, 6 × 6, 7 × 7, and so on. You can make each one as a square of dots!

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.

for n in range(5, 12):
    print(n * n)

When you run it, Python prints:

25
36
49
64
81
100
121

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