A right hexagonal prism has height $3$. The bases are regular hexagons with side length $1$. Any $3$ of the $12$ vertices determine a triangle. Find the number of these triangles that are isosceles (including equilateral triangles).
Triangles within one base: each hexagon has $8$ isosceles triangles ($6$ with two adjacent sides, $2$ equilateral), giving $16$.
Triangles with vertices on both bases: with height $3$ no slanted edge matches a horizontal distance ($1,\sqrt3,2$), so isosceles ones need two equal slanted sides from one vertex to two vertices of the other base symmetric about it: $2\cdot6\cdot2=24$.