Correlation between overlapping coin-flip counts
Asked at Two Sigma, DE Shaw
A fair coin is flipped times. Let be the number of heads in the first flips and the number of heads in all flips.
What is the correlation between and ?
Show a hint
Write where counts heads in the second 50 flips, independent of .