Sum of terms in period of continued fraction for sqrt(n).
A010340
Sum of terms in period of continued fraction for sqrt(n).
Terms
- a(0) =0a(1) =2a(2) =3a(3) =0a(4) =4a(5) =6a(6) =7a(7) =5a(8) =0a(9) =6a(10) =9a(11) =8a(12) =10a(13) =10a(14) =7a(15) =0a(16) =8a(17) =12a(18) =17a(19) =10a(20) =14a(21) =18a(22) =13a(23) =9a(24) =0a(25) =10a(26) =15a(27) =18a(28) =16a(29) =12
External references
- oeis: A010340