{{searchResults.length}} {{searchResults.length === 1 ? 'result' : 'results'}} for “{{searchWords}}”No results found for “{{searchWords}}”× back to contents
A $10\times10\times10$ grid of points consists of all points in space of the form $(i,j,k)$, where $i$, $j$, and $k$ are integers between $1$ and $10$, inclusive. Find the number of different lines that contain exactly $8$ of these points.
A line with $8$ points has a primitive direction with all coordinates in $\{0,\pm1\}$ (a step of $2$ in some coordinate allows at most $5$ points).
Directions like $(1,1,0)$: in each of the $10$ planes parallel to a coordinate plane there are $2\cdot2$ diagonals with $8$ points: $3\cdot10\cdot4=120$. Directions like $(1,1,1)$: points $(t,t+d,t+e)$ give $10-r$ points, where $r$ is the range of $\{0,d,e\}$; $r=2$ for $12$ choices of $(d,e)$, and there are $4$ such directions: $48$.
A $9\times9\times9$ grid of points consists of all points in space of the form $(i,j,k)$, where $i$, $j$, and $k$ are integers between $1$ and $9$, inclusive. Find the number of different lines that contain exactly $6$ of these points.