Find the positive integer n such that nk=1log2k=2018?

2 Answers
Oct 13, 2017

n=315

Explanation:

Completing what Oliver started...

Note that:

8(256)=2048>2018

So we need less terms than:

1+2+4+8+16+32+64+128+256=511

and probably more than:

1+2+4+8+16+32+64+128=255

Start by summing:

0(1)+1(2)+2(4)+3(8)+4(16)+5(32)+6(64)+7(128)

=0+2+8+24+64+160+384+896=1538

So we need an additional:

201815388=4808=60 terms

So n=255+60=315

Oct 13, 2017

See below.

Explanation:

We have

log2k=log2k for

k=2j

We know also that log2k is a monotonically strict increasing function of k so from j to j+1 we have 2j equal terms with value j so we are looking for

mk=1k2k1+k2=2018

Now considering

nk=1kxk1=ddxnk=1xk1=ddx(xn+11x1)1=(2x)x+(m(x1)1)xm(x1)2

and for x=2

mk=1k2k1=2m(m1)

Solving for m

2m(m1)=2018 we obtain

m=loge2+W(1009loge2)loge2=8.14232

so considering 8.14232=8 we have

m1=28=256 and

m1k=1log2k=1546

Now 20181546=k2=472=8×59 then finally

n=m1+59=256+59=315