Dynamics and Randomness