this is very easy I think but I don't have much experience with geometric series. I need to find/simplify the sum
$x^k+x^{k+1}+\dots+x^{k+m}$
where $x\in\mathbb{R}, k\in\mathbb{Z},m\in\mathbb{N}$
So I'm thinking I just write this as
$x^k+x\times x^k+x^2\times x^k+\dots+x^m\times x^k$
Now isn't this a geometric series with $a=x^k$ and $r=x$? So it should have the sum
$$s=\frac{x^k(1-x^{k+m})}{1-x}=\frac{x^k-x^{2k+m}}{1-x}$$
Is this the correct answer?