Let $A$ be a subset of $[0,1]$ with Lebesgue measure $\mu(A) = 1/2$.
Let $I_{i,n} ~ = ~ [(i-1)/n,i/n]$.
I am interested in the sequence: $$S_n(A) = n\sum_{i=1}^n \mu(A \cap I_{i,n} )^2 $$
I can show that $S_n(A)$ is between $1/4$ and $1/2$.
My question is: Does $S_n(A)$ converge to $1/2$ ?
I can show it is true when $A$ is a finite union of intervals. For large $n$, all except a finite number of the $I_{i,n}$ are inside or outside $A$. For general $A$, the Lebesgue density theorem seems relevant.
If the answer is no, then what is the smallest possible value of $\liminf S_n(A)$, as $A$ ranges over all measurable sets with $\mu(A) = 1/2$ ?