OFFSET
1,2
COMMENTS
a(1) = 0 since 3^1+1=4 is a square and sqrt(4) = 2 has no periodic part in its continued fraction expansion. - Chai Wah Wu, Sep 17 2021
LINKS
Chai Wah Wu, Table of n, a(n) for n = 1..48
MATHEMATICA
Table[Apply[Plus, Last[ContinuedFraction[Sqrt[1+3^u]]]], {u, 1, 25}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Nov 13 2002
EXTENSIONS
a(1) corrected and a(26)-a(36) added by Chai Wah Wu, Sep 17 2021
STATUS
approved