Number of distinct terms in continued fraction period of square root of n.

A096492

Number of distinct terms in continued fraction period of square root of n.

Terms

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

External references