|
|
A059723
|
|
Mean of the first 2^n nonnegative powers of 3, i.e., (1 + 3 + 3^2 + ... + 3^(2^n-1))/2^n.
|
|
8
|
|
|
|
OFFSET
|
0,2
|
|
LINKS
|
|
|
FORMULA
|
a(n) = (3^(2^n) - 1)/2^(n+1).
|
|
EXAMPLE
|
a(3) = (1 + 3 + 9 + 27 + 81 + 243 + 729 + 2187)/8 = 3280/8 = 410.
|
|
PROG
|
(PARI) { for (n=0, 11, write("b059723.txt", n, " ", (3^(2^n) - 1)/2^(n + 1)); ) } \\ Harry J. Smith, Jun 28 2009
|
|
CROSSREFS
|
|
|
KEYWORD
|
nonn
|
|
AUTHOR
|
|
|
STATUS
|
approved
|
|
|
|