a(n) is the number of distinct values in the periodic part of the continued fraction of the square root of n-th nonsquare positive integer.
A160520
a(n) is the number of distinct values in the periodic part of the continued fraction of the square root of n-th nonsquare positive integer.
Terms
- a(0) =1a(1) =2a(2) =1a(3) =2a(4) =2a(5) =2a(6) =1a(7) =2a(8) =2a(9) =2a(10) =3a(11) =2a(12) =1a(13) =2a(14) =4a(15) =2a(16) =3a(17) =4a(18) =3a(19) =2a(20) =1a(21) =2a(22) =3a(23) =3a(24) =2a(25) =4a(26) =2a(27) =3a(28) =3a(29) =2
External references
- oeis: A160520