I'm trying to solve for the variable $c$ in the equation
$$\sum_{n=0}^\infty e^{nc} = 10$$
At first I've recognized this is a geometric series, and I know that if $\vert{r}\vert < 1$ the value of this series can be expressed by:
$$\sum_{n=0}^\infty ar^{n} = \lim_{n\to\infty}S_{n} = \lim_{n\to\infty}\frac{a}{1-r}(1 - r^n)=\frac{a}{1-r}$$
since when $\vert{r}\vert\geq 1$ the geometric series will diverge and in the contrary case will converge because:
$$ \vert{r}\vert < 1 \Rightarrow \lim_{n\to\infty}r^{n}=0 $$
In my case this means $r=e^{c}$ and if we suppose that $\vert{e^{c}}\vert<1$ we get
$$ \frac{1}{1-e^{c}}=\lim_{n\to\infty}\frac{1}{1-e^{c}} (1 - e^{nc}) = 10$$
I try some basic algebraic manipulation
$$ 1 - e^{nc} = 10 - 10e$$
To simplify:
$$e^{nc} = -9 + 10e$$ $$\ln(e^{nc}) = \ln(-9 + 10e)$$ $$nc = \ln(-9 + 10e)$$ $$c = \frac{\ln(-9 + 10e)}{n}$$
Now this doesn't feel entirely right, and I wanted to verify the answer/if I made any mistakes. The answer shouldn't be an equation but just a number, where did I mess up?