login
The OEIS is supported by the many generous donors 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. 1

%I #12 Apr 20 2022 18:47:38

%S 0,3,7,7,25,15,63,31,125,63,187,127,1081,255,1091,511,1247,1023,11217,

%T 2047,11999,4095,20259,8191,66077,16383,88609,32767,55491,65535,

%U 284231,131071,413199,262143,585102,524287,3351311,1048575,3462843,2097151

%N Sum of terms in periodic part of continued fraction expansion of square root of -1+2^n.

%H Chai Wah Wu, <a href="/A077629/b077629.txt">Table of n, a(n) for n = 1..80</a>

%F a(2*n) = 2^(n+1) - 1. - _Max Alekseyev_, May 13 2010

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

%Y Cf. A077624-A077635.

%K nonn

%O 1,2

%A _Labos Elemer_, Nov 13 2002

%E a(1) corrected, a(26) and on added by _Max Alekseyev_, May 13 2010

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

License Agreements, Terms of Use, Privacy Policy. .

Last modified April 27 15:06 EDT 2024. Contains 372019 sequences. (Running on oeis4.)