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

A065618
a(n) = ceiling(log_2(n)*2^n/n).
3
0, 2, 5, 8, 15, 28, 52, 96, 181, 341, 645, 1224, 2332, 4456, 8535, 16384, 31515, 60729, 117218, 226594, 438637, 850192, 1649843, 3205122, 6232879, 12132353, 23636674, 46088019, 89934783, 175624456, 343195341, 671088640, 1313061078, 2570645474, 5035452071
OFFSET
1,2
LINKS
PROG
(PARI) { default(realprecision, 100); t=1/log(2); for (n=1, 200, write("b065618.txt", n, " ", ceil( t*log(n)*2^n/n - 0.0000001)) ) } \\ Harry J. Smith, Oct 24 2009
CROSSREFS
Sequence in context: A051293 A081660 A285291 * A257548 A186413 A080084
KEYWORD
nonn
AUTHOR
N. J. A. Sloane, Dec 03 2001
EXTENSIONS
a(4) corrected and a(34) added by Harry J. Smith, Oct 24 2009
STATUS
approved