Re: Summation of Odd Powers of 2?

From: Buzzini (buzzini_at_gmail.com)
Date: 09/19/04


Date: Sun, 19 Sep 2004 18:49:57 -0400

John R Ramsden wrote:
> On 19 Sep 2004 12:12:35 -0700, buzzini@gmail.com (Buzzini) wrote:
>
>
>>Does anyone know a formula for the summation of odd powers of 2? I'm
>>looking for an analogue to the 2^n - 1 formula for computing the sum
>>of powers of 2 from 2^0 through 2^(n-1).
>>
>>Thank you!
>
>
> Hint: If S is the sum then what is S + 2.S ?
>
>
> Cheers
>
> ---------------------------------------------------------------------------
> John R Ramsden (jr@adslate.com)
> ---------------------------------------------------------------------------
> "Eternity is a long time, especially towards the end."
> Woody Allen

Perfect! Thanks!

S = (2^(2n+1) - 2)/3


Loading