For fixed , the missing common-neighbour count in a binomial random graph has expectation tending to zero. The Markov inequality therefore shows that every pair has a common neighbour with probability tending to one. On that event every graph distance is at most two, so the graph is connected and its graph diameter is at most two.
Let be the indicator random variable that the unordered vertex pair has no common neighbour. For each of the other vertices, the two required edges are both present with probability . The edge pairs for different candidate neighbours are disjoint sets of independent random choices. Thus . Linearity of expectation yields
the missing common-neighbour count in a binomial random graph.