Answer: What Comes Next? #427

The answer is A: 81.

The finished pattern: 9, 16, 25, 36, 49, 64, 81.
The finished pattern.

The rule

These are square numbers: 3 × 3, 4 × 4, 5 × 5, 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(3, 10):
    print(n * n)

When you run it, Python prints:

9
16
25
36
49
64
81

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