17==1(mod 4),所以计算(sqrt(17)+1)/2=2.561552812808830……它的连续分数展开是[2];(1,1,3)]。最大项为3。
13==1(mod 4),因此计算(sqrt(13)+1)/2=2.30277563773199……其连分式展开为[2;(3)]。最大项再次为3,但平均项大于(sqrt(17)+1)/2中的平均项,因此13在17之后。
7==3(mod 4),因此计算sqrt(7)=2.645751311064590……其连续分式展开为[2;(1,1,4)]。最大项是4,所以7在13之后。
|