{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}”No results found for “{{searchWords}}”× back to contents
Find the number of rectangles that can be formed inside a fixed regular dodecagon ($12$-gon) where each side of the rectangle lies on either a side or a diagonal of the dodecagon. The diagram below shows three of those rectangles.
Number the vertices $0,\dots,11$. The chord $\{i,j\}$ is perpendicular to the direction $15^\circ(i+j)$, so its direction depends only on $s=i+j\bmod12$. Directions $s$ and $s+6$ are perpendicular. A rectangle uses two chords of class $s$ and two of class $s+6$, and its four corners must lie inside the dodecagon (a point of a chord's line inside the polygon lies on the chord).
Even $s$ (say $s=0$, $s+6=6$): the lines are $x=0,\pm\frac12,\pm\frac{\sqrt3}2$ and $y=0,\pm\frac12,\pm\frac{\sqrt3}2$. The only grid points outside are $\bigl(\pm\frac{\sqrt3}2,\pm\frac{\sqrt3}2\bigr)$.
A rectangle is fine unless both its largest $|x|$ and its largest $|y|$ equal $\frac{\sqrt3}2$. Pairs of $x$-values with largest $|x|=\frac12$ number $3$; with $\frac{\sqrt3}2$ number $7$. So there are $3\cdot3+3\cdot7+7\cdot3=51$ rectangles.
Odd $s$: after rotating by $15^\circ$, the lines are $x,y\in\{\pm c_{15},\pm c_{45},\pm c_{75}\}$ ($c_\alpha=\cos\alpha^\circ$). A corner is outside iff $(|x|,|y|)$ is $(c_{15},c_{15})$, $(c_{15},c_{45})$ or $(c_{45},c_{15})$.
Pairs with largest value $c_{75}$, $c_{45}$, $c_{15}$ number $1$, $5$, $9$. Allowed combinations: $1\cdot1+1\cdot5+5\cdot1+5\cdot5+1\cdot9+9\cdot1=54$.
There are three perpendicular direction pairs of each type: $3\cdot51+3\cdot54=315$. The answer is $\boxed{315}$.
Find the number of rectangles that can be formed inside a fixed regular decagon ($10$-gon) where each side of the rectangle lies on either a side or a diagonal of the decagon. The diagram below shows two of those rectangles.