The train stops in a large, misty forest, where the Elves have come for petrichor. The best petrichor comes from natural forests, but nobody remembers whether this stretch was planted. Planted forests follow afforestation protocols that space the trees evenly, and those patterns can linger: four trees standing exactly at the corners of a grid-aligned square.
My forest
| Sizes | Squares | |
|---|---|---|
| Part A: grid-aligned | 72 | 408 |
| Part B: any rotation | 1,126 | 2,529 |
Squares by size: an example forest
Pick a size. Every tree that is a corner of a square of that size lights up, and its sides are drawn between the corners. Rotated squares come in sizes like √5, the diagonal of a 1 × 2 step.
ground
treecorner of a square this size
side of a square
Survey your own forest
Paste a map of trees (#) and ground (.), up to 200 × 200,
to count its squares and step through them by size.