I am perplexed as to how to solve this problem:
$$\sum_{k=0}^{10} \left(\frac{-1}{4}\right)^k$$
The answer is $838861/1048576$ but I do not know how to get there.
The sum of a general geometric sequence $x,xr,xr^2,xr^3\cdots$ upto $n$ terms is $x(1+r+r^2+\cdots+r^{n-1})=x\frac{r^n-1}{r-1}$ (You can prove this by induction). Here $x=1$ and $r=-\frac{1}{4}$.
Sumcommand, like this:Sum[(-1/4)^k, {k, 0, 10}]