Expected triangles among eight coin-flip links
Eight nodes sit in a network. For each pair of nodes you flip a fair coin: heads draws a link between them, tails leaves them unlinked. A triangle is a set of 3 nodes that are all pairwise linked.
On average, how many triangles appear among the 8 nodes?