This puzzle was suggested by Latchezar Christov - thanks!
A wire with length is stretched between two poles. Swallows come, one by one, and land on the wire. All swallows have a width equal to 1 and cannot overlap on the wire, and each new swallow selects where to land at random with uniform probabilities (taken over all the perimissible options). This repeats until no swallow can land anymore.
In this moment, there are swallows on the wire. The number is a discrete random variable whose expectancy depends on . We will call "flock density" (FD) the ratio . For example
Your goal: Find the lengths and () for which the flock density is accordingly and . Provide eight decimal digits of accuracy.
A bonus "*" will be given for finding the median of the distribution of the distance between two consecutive landing points for , where a "landing point" of a swallow is in the middle of the space it occupies. Provide four decimal digits after the decimal point.