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

A065617
a(n) = round(log_2(n)*2^n/n).
2
0, 2, 4, 8, 15, 28, 51, 96, 180, 340, 644, 1224, 2332, 4456, 8535, 16384, 31515, 60729, 117218, 226594, 438636, 850191, 1649843, 3205121, 6232878, 12132353, 23636674, 46088018, 89934782, 175624455, 343195341, 671088640, 1313061077
OFFSET
1,2
LINKS
MATHEMATICA
Array[Round[Log2[#]*2^#/#] &, 33] (* Michael De Vlieger, Jun 14 2018 *)
PROG
(PARI) { default(realprecision, 100); t=1/log(2); for (n=1, 200, write("b065617.txt", n, " ", round( t*log(n)*2^n/n)) ) } \\ Harry J. Smith, Oct 24 2009
CROSSREFS
Sequence in context: A029907 A005682 A114833 * A062065 A008936 A320452
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Dec 03 2001
STATUS
approved