| Download
All published worksheets from http://sagenb.org
Project: sagenb.org published worksheets
Views: 168760Image: ubuntu2004
[3, 7, 15, 1, 292, 2]
[3, 22/7, 333/106, 355/113, 103993/33102, 208341/66317]
[3, 22, 333, 355, 103993, 208341]
[1, 7, 106, 113, 33102, 66317]
1 -1 1 -1 1 -1 1
3 -7 15 -1 292 -2
92902834/292034827
[0, 3, 6, 1, 33, 1, 14, 1, 4, 1, 1, 2, 1, 1, 6, 4, 1, 4, 2]
We do repeated long division using the Euclidean algorithm and output the partial quotients. As we proved, they are the convergents in the above continued fraction.
0 3 6 1 33 1 14 1 4 1 1 2 1 1 6 4 1 4 2