MathsReadCompetitive mathematics
Pattern recognition · integer answereasy6 min

Checkerboard black squares

Grid Patterns

On a 15 by 15 checkerboard, color the top-left square black and alternate colors along rows and columns. How many squares are black? Submit one integer.

Learning goal: Recognize the extra black square in an odd-sized board.

Look for the underlying structure rather than guessing the next number. Submit only the final integer; you can open hints below as needed.

Check your answer without signing in. Sign in to save your progress.

Accepted format: a whole number such as 42 or 123456789. No commas, formulas, or source code.

Hints

Hint 1

An even-sized grid has equal colors.

Hint 2

An odd-sized grid has one extra of the corner color.

Hint 3

Take (total squares + 1)/2.

Common mistake to avoid

Assuming the first visible step stays constant without testing the full pattern.

How to approach this problem

Pair neighboring squares into black-white pairs. In an odd-by-odd board, one unmatched square has the starting color.

Worked example with different values

A 5×5 board starting black has (25+1)/2=13 black squares.

Apply the same reasoning to the challenge. This example is a separate practice problem.

Learn the technique: Sequence patterns: differences, recurrences and interleaving

Report a question or explanation issue

Sequence patterns · Repeating remainders

Back to problems →