login
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
OFFSET
1,1
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