OFFSET
1,2
FORMULA
EXAMPLE
The period of sqrt(242) contains 10 terms: [1,1,3,1,14,1,3,1,1,30]
MAPLE
with(numtheory): [seq(nops(cfrac(sqrt(3^k-1), 'periodic', 'quotients')[2]), k=1..16)];
MATHEMATICA
Table[Length[Last[ContinuedFraction[Sqrt[ -1+3^u]]]], {u, 1, 36}]
CROSSREFS
KEYWORD
nonn,more
AUTHOR
Labos Elemer, Jul 13 2001
EXTENSIONS
a(37)-a(42) from Vaclav Kotesovec, Aug 28 2019
a(43)-a(44) from Vaclav Kotesovec, Sep 17 2019
a(45)-a(52) from Chai Wah Wu, Sep 25 2019
a(53)-a(56) from Chai Wah Wu, Sep 29 2019
STATUS
approved