login
A077629
Sum of terms in periodic part of continued fraction expansion of square root of -1+2^n.
1
0, 3, 7, 7, 25, 15, 63, 31, 125, 63, 187, 127, 1081, 255, 1091, 511, 1247, 1023, 11217, 2047, 11999, 4095, 20259, 8191, 66077, 16383, 88609, 32767, 55491, 65535, 284231, 131071, 413199, 262143, 585102, 524287, 3351311, 1048575, 3462843, 2097151
OFFSET
1,2
LINKS
FORMULA
a(2*n) = 2^(n+1) - 1. - Max Alekseyev, May 13 2010
MATHEMATICA
Table[Apply[Plus, Last[ContinuedFraction[Sqrt[ -1+2^u]]]], {u, 1, 25}]
CROSSREFS
KEYWORD
nonn
AUTHOR
Labos Elemer, Nov 13 2002
EXTENSIONS
a(1) corrected, a(26) and on added by Max Alekseyev, May 13 2010
STATUS
approved