The OEIS mourns the passing of Jim Simons and is grateful to the Simons Foundation for its support of research in many branches of science, including the OEIS.
login
The OEIS is supported by the many generous donors to the OEIS Foundation.

 

Logo
Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A064849 Period of continued fraction for sqrt(3)*n. 0
2, 2, 2, 2, 4, 8, 2, 4, 10, 4, 2, 8, 6, 2, 2, 8, 6, 20, 4, 8, 14, 8, 8, 12, 16, 2, 30, 2, 16, 4, 18, 16, 10, 20, 16, 20, 18, 8, 6, 12, 2, 12, 8, 8, 6, 20, 20, 20, 30, 36, 6, 2, 8, 68, 14, 2, 16, 32, 22, 4, 38, 18, 40, 36, 6, 28, 10, 20, 40, 8, 4, 40, 18, 22, 16, 12, 28, 2, 46, 20, 98, 8 (list; graph; refs; listen; history; text; internal format)
OFFSET
1,1
LINKS
EXAMPLE
A040001 (cfrac for n=1) has period length 2, so a(1)=2. A040008 (cfrac for n=2) has period length 2, so a(2)=2. A040021 (cfrac for =3) has period length 2, so a(3)=2. - R. J. Mathar, Feb 10 2016
MATHEMATICA
Table[Length[Last[ContinuedFraction[Sqrt[3] n]]], {n, 128}]
CROSSREFS
Sequence in context: A334125 A364811 A244459 * A269302 A132189 A162799
KEYWORD
nonn
AUTHOR
R. K. Guy, Oct 26 2001
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.

License Agreements, Terms of Use, Privacy Policy. .

Last modified May 18 07:16 EDT 2024. Contains 372618 sequences. (Running on oeis4.)