The OEIS is supported by the many generous donors to the OEIS Foundation.

 Hints (Greetings from The On-Line Encyclopedia of Integer Sequences!)
 A028833 Index of redundancy in period of continued fraction for sqrt(n). 1
 0, 0, 0, 0, 0, 0, 2, 0, 0, 0, 0, 0, 3, 1, 0, 0, 0, 0, 2, 0, 3, 2, 1, 0, 0, 0, 0, 1, 2, 0, 4, 2, 1, 1, 0, 0, 0, 0, 0, 0, 1, 0, 6, 5, 3, 7, 1, 0, 0, 0, 0, 2, 2, 2, 2, 0, 3, 5, 2, 1, 6, 1, 0, 0, 0, 0, 5, 0, 4, 3, 4, 0, 4, 3, 2, 7, 2, 1, 1, 0, 0, 0, 0, 0, 2, 6, 0, 3, 2, 0, 5, 4, 6, 10, 1, 1, 8, 1, 0, 0, 0, 0 (list; graph; refs; listen; history; text; internal format)
 OFFSET 1,7 LINKS Amiram Eldar, Table of n, a(n) for n = 1..10000 FORMULA a(n) = A003285(n) - A028832(n). MATHEMATICA a[n_] := If[IntegerQ[Sqrt[n]], 0, Length[p = ContinuedFraction[Sqrt[n]] // Last] - Length[p // Union]]; Table[a[n], {n, 1, 102}] (* Jean-François Alcover, Dec 26 2012 *) CROSSREFS Cf. A028832, A003285. Sequence in context: A284270 A337542 A282568 * A024943 A325787 A005929 Adjacent sequences: A028830 A028831 A028832 * A028834 A028835 A028836 KEYWORD nonn,nice AUTHOR Olivier Gérard STATUS approved

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recents
The OEIS Community | Maintained by The OEIS Foundation Inc.

Last modified August 12 19:26 EDT 2024. Contains 375113 sequences. (Running on oeis4.)