Integration to solve modified sum of binomial coefficients