0:00
Combinatorics 5.0/10

Tilted Squares

Consider the 25 points $(x, y)$ with $x, y \in \{0, 1, 2, 3, 4\}$. How many squares (of any size and orientation) have all four vertices among these points? Give an integer.

Related problems & prerequisites

Worth solving first

Source: Classic exercise in wide circulation; no traceable original source. Statement written for AxiomIQ.