Conversion from partial fraction expansion to continued fraction

 

The partial fraction expansions of tangent and cotangent are

 

 

    in regular form

 

       in regular form

 

That is

 

 

To convert these, we usually use the following formula

 

  (regular expression in series)

   in special form

 

 

or

Applying gamma-shape multipliers, we get

 

  in special form

 

Thus

 

  in special form

 

where 5=12+22, 13=22+32, 25=32+42 after third term in order.

 

In the same way

 

 

 

or

 

Applying gamma-shape multipliers, we get

 

 

Thus

 

in special form

 

where 10=12+32, 36=32+52, 74=52+72, 130=72+92 after second term in order.