Round, round, get a round

This week’s Fiddler is about rounding!

Let $\text{round}(x)$ be the value of $x$ rounded to the nearest integer. Suppose $x_1,\dots,x_n$ are independent uniformly distributed random variables in $[0,1]$. Find the probability that
\[
\text{round}(x_1+\cdots+x_n) = \text{round}(x_1)+\cdots+\text{round}(x_n)
\]

My solution:
[Show Solution]

3 thoughts on “Round, round, get a round”

    1. I took the liberty of formatting your integral using $\LaTeX$ 🙂

      Thanks for this link! Amazing stuff… I never would have thought that there could be a formula that looks like this. Hard to even believe that this formula for $p(N)$ is even rational for all $N$!

  1. Great analysis! On the basis of a random-walk analogy, I thought p(n) should go like 1/√n at large n, but it’s nice to see it all worked out in detail.

Leave a Reply

Your email address will not be published. Required fields are marked *