May 5, 2026 Final

Problem 9 · Segment lengths in a 4×4 grid

Distinct values of $a^{2}+b^{2}$ with $0 \le a, b \le 4$.

Integer answer, at most 4 digits

If, in a grid of 16 unit squares like the one in the figure, we draw all segments joining any 2 vertices of these squares, how many different lengths will these segments have?

Figure for problem 9
Copa Cangur · SCM Medium Closed answer