ContinuedFractionK
ContinuedFractionK[f,g,{i,imin,imax}] represents the continued fraction Κi=iminimaxf/g.
ContinuedFractionK[g,{i,imin,imax}] represents the continued fraction Κi=iminimax1/g.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.