login
This site is supported by donations to The OEIS Foundation.

 

Logo


Hints
(Greetings from The On-Line Encyclopedia of Integer Sequences!)
A077629 Sum of terms in periodic part of continued fraction expansion of square root of -1+2^n. 0
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 (list; graph; refs; listen; history; text; internal format)
OFFSET

1,2

LINKS

Table of n, a(n) for n=1..40.

FORMULA

a(2*n) = 2^(n+1) - 1 [From Max Alekseyev, May 13 2010]

MATHEMATICA

Table[Apply[Plus, Last[ContinuedFraction[Sqrt[ -1+2^u]]]], {u, 1, 25}]

CROSSREFS

Cf. A077624-A077635.

Sequence in context: A261480 A121172 A322934 * A184467 A004794 A272981

Adjacent sequences:  A077626 A077627 A077628 * A077630 A077631 A077632

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

Lookup | Welcome | Wiki | Register | Music | Plot 2 | Demos | Index | Browse | More | WebCam
Contribute new seq. or comment | Format | Style Sheet | Transforms | Superseeker | Recent
The OEIS Community | Maintained by The OEIS Foundation Inc.

License Agreements, Terms of Use, Privacy Policy. .

Last modified September 17 17:32 EDT 2019. Contains 327136 sequences. (Running on oeis4.)