Here is a continued fraction. On the chart, basically the first column is c. The next is d, then e, then the rest is a repeating sequence of numbers. Basically from this pic the d is a_0, and the rest are a_1, a_2 etc.
For example, for the number 148
148
d = 12, e = 4
since 12*2 is divisible by 4, the continued fraction is:
[12, 24/4, 24, 24/4, 24, 24/4, 24, 24/4, 24, 24/4, …] as (in reference to the picture)
[a0, a1, a2, …]
The highlighted numbers are just the sequences that repeat