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