MathLabs

Problem 3

A collection of nn squares on the plane is called tri-connected if the following criteria are satisfied: (i) All the squares are congruent. (ii) If two squares have a point PP in common, then PP is a vertex of each of the squares. (iii) Each square touches exactly three other squares. How many positive integers nn are there with 2018≤n≤30182018\le n\le 3018, such that there exists a collection of nn squares that is tri-connected?
Step 4 of 4: Count the even n in range
∣{n∈Z:2018≤n≤3018, n even}∣=3018−20182+1=501|\{n\in\mathbb Z: 2018\le n\le 3018,\ n\ \text{even}\}|=\frac{3018-2018}{2}+1=501
Detailed analysis

Every nn with 2018≤n≤30182018\le n\le 3018 satisfies n≥38n\ge 38, so by steps 1 and 3 a tri-connected collection of nn squares exists exactly when nn is even. The even integers from 20182018 to 30183018 inclusive number 3018−20182+1=501\frac{3018-2018}{2}+1=501.