Period of continued fraction for square root of n (or 1 if n is a square).
A097853
Period of continued fraction for square root of n (or 1 if n is a square).
Terms
- a(0) =1a(1) =1a(2) =2a(3) =1a(4) =1a(5) =2a(6) =4a(7) =2a(8) =1a(9) =1a(10) =2a(11) =2a(12) =5a(13) =4a(14) =2a(15) =1a(16) =1a(17) =2a(18) =6a(19) =2a(20) =6a(21) =6a(22) =4a(23) =2a(24) =1a(25) =1a(26) =2a(27) =4a(28) =5a(29) =2
External references
- oeis: A097853