On page 58 in Concrete Mathematics [2nd Ed] (Graham, Knuth, Patashnik), one of the sums is evaluated like so:
$$ \sum_{k \geq 0} x^k = \lim_{n \to \infty} \frac{1 - x^{n+1}}{1 - x} = \begin{cases} 1/(1-x), \quad &\text{if} \; 0 \leq x < 1; \\ \infty, \quad &\text{if} \; x \geq 1. \end{cases} $$
It bothers me that when $x = 1$ there is a division by zero; however, the numerator would also equal 0. From Wikipedia,
Since any number multiplied by zero is zero, the expression $\frac{0}{0}$ is also undefined; when it is the form of a limit, it is an indeterminate form.
Why is it OK to leave the solution like the authors did? Or, is it a typo?
You're right, this is slightly sloppy. The expression in the middle isn't valid for $x=1$. Nevertheless, the result on the right is correct, since for $x=1$ we have
$$ \sum_{k\ge0}x^k=\sum_{k\ge0}1=\lim_{n\to\infty}n=\infty\;. $$