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”).

A135471
a(n) = Sum{i=1..n} ( i*2^(i-1) ) - ( A002024(n)*(A002024(n)+1)/2 - n ) * 2^(A002024(n)-1).
1
1, 3, 17, 41, 125, 321, 745, 1777, 4089, 9217, 20417, 45009, 98273, 212977, 458753, 982881, 2097025, 4456353, 9437121, 19922913, 41943041, 88080001, 184549057, 385875713, 805306177, 1677721473, 3489660865, 7247757313, 15032384641, 31138512129, 64424508801
OFFSET
1,2
COMMENTS
At one time this expression was proposed (erroneously) as a formula for A007664.
LINKS
MATHEMATICA
f[n_] := Floor[Sqrt[2*n] + 1/2]; a[n_] := Sum[ i*2^(i - 1), {i, 1, n}] - (f[n]*(f[n] + 1)/2 - n)*2^(f[n] - 1); Table[a[n], {n, 1, 25}] (* G. C. Greubel, Oct 14 2016 *)
CROSSREFS
Cf. A007664.
Sequence in context: A146821 A181981 A089637 * A322755 A226492 A092347
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Feb 08 2008
STATUS
approved