The sum of the binomial coefficients up to k #
The standard estimate of a partial sum of a row of Pascal's triangle by the exponential:
∑ i ≤ k, C(n, i) ≤ (e n / k) ^ k for 0 < k ≤ n. It follows from C(n, i) ≤ n ^ i / i !
(Nat.choose_le_pow_div) and the partial sums of the exponential series
(Real.sum_le_exp_of_nonneg), since n / k ≥ 1 lets every power n ^ i with i ≤ k be
replaced by n ^ k / k ^ (k - i).
Main results #
Nat.sum_range_succ_choose_le_exp_mul_div_pow— the sum of the binomial coefficientsC(n, i)fori ≤ kis at most(e n / k) ^ k, for0 < k ≤ n.