A radioactive substance emits n beta particles in the first 2 seconds and 0.5n beta particles in the next 2 seconds. The mean life of the sample is