OFFSET
1,2
EXAMPLE
A040002 (cfrac for n=1) has period length 1, so a(1)=1. A040015 (cfrac for n=2) has period length 2, so a(2)=2. A010135 (cfrac for n=3) has period length 6, so a(3)=6. - R. J. Mathar, Feb 10 2016
MATHEMATICA
Table[Length[ContinuedFraction[Sqrt[5]n][[2]]], {n, 90}] (* Harvey P. Dale, Apr 13 2015 *)
CROSSREFS
KEYWORD
nonn
AUTHOR
R. K. Guy, Oct 26 2001
STATUS
approved