The mathematics of randomness inside a single cell