Dealing with summation over say i*floor[n/i] type.