Re: [PrimeNumbers] Primaliy test for a series
- Christ van Willegen wrote:
> It seems as if it's just sum(x=0,2*n,2^x) for some n,The original sum ended with odd exponent:
> or did I misread that?
> 1 + 2 + 2^2 + 2^3 + ... + 2^(2*n - 1)= 2^(2n)-1 = (2^n-1)*(2^n+1)
Jens Kruse Andersen