Length of the period of the continued fraction of (1+sqrt(n))/2.

A146326

Length of the period of the continued fraction of (1+sqrt(n))/2.

Terms

    a(0) =0a(1) =2a(2) =2a(3) =0a(4) =1a(5) =4a(6) =4a(7) =4a(8) =0a(9) =2a(10) =2a(11) =2a(12) =1a(13) =4a(14) =2a(15) =0a(16) =3a(17) =6a(18) =6a(19) =4a(20) =2a(21) =6a(22) =4a(23) =4a(24) =0a(25) =2a(26) =2a(27) =4a(28) =1a(29) =2

External references