Naturally, one can also consider taking the limit of it. For example, let’s consider a sequence with the recurrence relation given by an+1=1+1+an1 and a1=1. Then, the following holds:
an=1+2+2+⋱2+1+a11111
Since the limit of an is 2, 2 can be written as [1,2,2,2,…].
2=1+2+2+2+⋱111(2)
The same form as the right-hand side of (2) is called the continued fraction expansion of 2.
James Stewart, Daniel Clegg, and Saleem Watson, Calculus (early transcendentals, 9E), p737-738 ↩︎