login

Year-end appeal: Please make a donation to the OEIS Foundation to support ongoing development and maintenance of the OEIS. We are now in our 61st year, we have over 378,000 sequences, and we’ve reached 11,000 citations (which often say “discovered thanks to the OEIS”).

A139754
a(n) = floor(n*2*(3^n-2^n)/2^n).
0
1, 5, 14, 32, 65, 124, 225, 394, 673, 1133, 1880, 3089, 5034, 8146, 13106, 20986, 33464, 53168, 84201, 132970, 209449, 329156, 516200, 807989, 1262508, 1969539, 3067962, 4772414, 7414316, 11505003
OFFSET
1,2
MATHEMATICA
Table[Floor[2n((3^n-2^n)/2^n)], {n, 30}] (* Harvey P. Dale, Feb 09 2018 *)
CROSSREFS
Sequence in context: A211803 A299275 A266759 * A036595 A180668 A053209
KEYWORD
easy,nonn
AUTHOR
Ctibor O. Zizka, May 19 2008
STATUS
approved