One needs to be careful about the numbers here. For N coin tosses, the ensemble of possible results is of size 2^N. If the sample being considered (eg: 1000 realizations) is much less than 2^N, then what is being computed is not the ensemble average, but will approximate the time average, since all trajectories converge to the “typical trajectory”…