login
This site is supported by donations to The OEIS Foundation.

 

Logo

Annual Appeal: Please make a donation (tax deductible in USA) to keep the OEIS running. Over 5000 articles have referenced us, often saying "we discovered this result with the help of the OEIS".

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

Table of n, a(n) for n=1..82.

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: A103260 A060824 A244459 * A269302 A132189 A162799

Adjacent sequences:  A064846 A064847 A064848 * A064850 A064851 A064852

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 | Recent | More pages
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy .

Last modified December 5 21:40 EST 2016. Contains 278771 sequences.