sum(2^k, k=1, n)
Let's calculate: ∑k = 1n2k
For ∑K = abcK + d, you can use the formula: ca + d·cb -a + 1 -1c -1
ⅰ ∑k = 1n2k = 2·2n -1 + 1 -12 -1
2·2n -1 + 1 -12 -1
ⓘ Multiplying a fraction by a number multiplies its numerator: 2·2n -1 + 1 -12 -1 = 2·(2n -1 + 1 -1)2 -1■Calculate the exponent before evaluating the power: -1 + 1 = 0■The numerator and the denominator are computed before the division: 2 -1 = 1
2·(2n + 0 -1)1
ⓘ Adding 0 changes nothing: n + 0 = n
2·(2n -1)
ⓘ Multiply each term of the sum by the other factor, using the distributive law: 2·(2n -1) = 2n + 1 -2
▶Result:   2n + 1 -2