a(n) = sqrt(n) of n if n is a perfect square, otherwise a(n) = largest term in period of continued fraction expansion of square root of n.
A096491
a(n) = sqrt(n) of n if n is a perfect square, otherwise a(n) = largest term in period of continued fraction expansion of square root of n.
Terms
- a(0) =1a(1) =2a(2) =2a(3) =2a(4) =4a(5) =4a(6) =4a(7) =4a(8) =3a(9) =6a(10) =6a(11) =6a(12) =6a(13) =6a(14) =6a(15) =4a(16) =8a(17) =8a(18) =8a(19) =8a(20) =8a(21) =8a(22) =8a(23) =8a(24) =5a(25) =10a(26) =10a(27) =10a(28) =10a(29) =10
External references
- oeis: A096491