C212. A poisson sum up to the mean and a ramanujan problem