Birds on a Wire Revisited
Some birds are sitting at random places on a wire. If bird B is bird A's closest neighbor and bird A is bird B's closest neighbor, then A and B are mutual nearest neighbors and form a mutual neighbor pair.[more]
This Demonstration simulates birds on a wire and shows all mutual neighbor pairs with different colors. We also show estimated probabilities for the number of birds that are a part of a mutual neighbor pair. Furthermore, we generalize the problem to two and three dimensions.[less]
This is problem 3 in . The problem originally appeared in 1978 in  for four birds, and asked what the probability is that a bird picked at random is looking at another bird that is looking at it. Also, what is the probability if there are more than four birds? The solution appeared the next year in . In one dimension, the probability is , irrespective of the number of birds! (However, for two birds the probability is, of course, one.) In two dimensions, the probability that a randomly picked point is a part of a mutual neighbor pair is . In three dimensions, the probability is . As dimensions grow, the probability approaches the value . The problem is considered as a Poisson process in a Demonstration cited in the Related Links.
 J. Herbert, "Birds on a Wire (Solution)," Journal of Recreational Mathematics, 11(3), 1979 pp. 227–228.
 P. J. Nahin, Digital Dice: Computational Solutions to Practical Probability Problems, Princeton: Princeton University Press, 2008.
 D. K. Pickard, "Isolated Nearest Neighbors," Journal of Applied Probability, 19(2), 1982 pp. 444–449.
 D. P. Shine, "Birds on a Wire," Journal of Recreational Mathematics, 10(3), 1978 p. 211.