Source: https://math.furman.edu/~tlewis/math451/notes/Lewis/Sequences/sec6.pdf