What is
0.777...
when written as a fraction?
Answer
We can write this number as

This is a geometric series with
and
. The sum of the infinite series is

If we put
into a calculator, we get something like
0.77777777778.
Since the calculator can only display finitely many digits, it rounds the last seven up to an 8.