OFFSET
1,1
EXAMPLE
A040003 (cfrac for n=1) has period length 2, so a(1)=2. A040019 (cfrac for n=2) has period length 2, so a(2)=2. A010140 (cfrac for n=3) has period length 6, so a(3)=6. - R. J. Mathar, Feb 10 2016
CROSSREFS
KEYWORD
nonn
AUTHOR
R. K. Guy, Oct 26 2001
STATUS
approved