Mathematica 2.0 for SPARC Copyright 1988-91 Wolfram Research, Inc. -- X11 windows graphics initialized -- In[1]:= < -(-------) - -------, 1, -(--------) - ---------, 1, 613089 21141 1500625 1500625 93586478125 1500625 x 40216272085028 85265400901304 x > ------------- - ---------, 1, -(--------------) - ----------------, 1, 1553418235044 349396814 22162730625 22162730625 6030675 > -(---------)} 205234276 In[11]:= nu2[a_]:=MonicLC[a, x] 0. Second In[12]:= ContFractGeneric[f, g, qr2, nu2] 2 4 6 7 Quotient=-1, Remainder=2 + 2 x + x - x + x , Unit=-1 2 3 4 2 4 x 5 x 5 x 4 x 5 Quotient=-2 - 2 x - x , Remainder=1 + --- + ---- + ---- + ---- + x , Unit=3 3 3 3 3 2 3 13 7 x 2 3 11 x 46 x 4 x 4 35 Quotient=-- - --- + x , Remainder=- + ---- + ----- + ---- + x , Unit=-- 9 3 7 35 35 35 27 2 128 65 71 x 34 x 3 261 Quotient=--- + x, Remainder=-- + ---- - ----- + x , Unit=---- 105 29 29 29 1225 1306 59 122 x 2 315 Quotient=---- + x, Remainder=-(--) - ----- + x , Unit=--- 1015 9 9 841 3232 233 14326 Quotient=---- + x, Remainder=--- + x, Unit=----- 261 494 81 62365 14769 Quotient=-(-----) + x, Remainder=1, Unit=------ 4446 244036 233 Quotient=--- + x, Remainder=0, Unit=1 494 0.266667 Second 2 13 7 x 2 35 128 261 1306 Out[12]= {-1, -1, -2 - 2 x - x , 3, -- - --- + x , --, --- + x, ----, ---- + x, 9 3 27 105 1225 1015 315 3232 14326 62365 14769 233 > ---, ---- + x, -----, -(-----) + x, ------, --- + x, 1, 1} 841 261 81 4446 244036 494 In[13]:=