Greatest Odd Divisors

Let S S be the set of integers from 1 1 to 2 2019 2^{2019} and D D be the sum of the greatest odd divisors of each of the elements of S S .

Find D D in the form a b + c d \frac{{a}^{b}+c}{d} , where a a is as small as possible, and enter the value of a + b + c + d . a+b+c+d.


The answer is 4045.

This section requires Javascript.
You are seeing this because something didn't load right. We suggest you, (a) try refreshing the page, (b) enabling javascript if it is disabled on your browser and, finally, (c) loading the non-javascript version of this page . We're sorry about the hassle.

1 solution

Julian Yu
Oct 26, 2019

Let d ( n ) d(n) be the largest odd divisor of n n .

Consider the integers n + 1 , n + 2 , . . . , 2 n n+1, n+2, ..., 2n . Clearly, none of the integers in the list divide any of the others, as the ratio of any two numbers in the list is less than 2. This means that they must all have different largest odd divisors. Hence, these largest odd divisors are n n distinct odd integers in the range [ 1 , 2 n 1 ] [1,2n-1] . However, there are only n n positive odd positive integers less than 2n, so our odd parts are all the odd positive integers from 1 1 to 2 n 1 2n-1 , and their sum is n 2 n^2 .

So we have d ( n + 1 ) + d ( n + 2 ) + . . . + d ( 2 n ) = n 2 d(n+1)+d(n+2)+...+d(2n)=n^2 .

Note that d ( 1 ) = 1 d(1)=1 . Using the above fact, we find:

d ( 2 ) = 1 d(2)=1 ,

d ( 3 ) + d ( 4 ) = 2 2 d(3)+d(4)=2^2 ,

d ( 5 ) + d ( 6 ) + d ( 7 ) + d ( 8 ) = 2 4 d(5)+d(6)+d(7)+d(8)=2^4 ,

and so on, until:

d ( 2 2018 + 1 ) + . . . + d ( 2 2019 ) = 2 4036 d(2^{2018}+1)+...+d(2^{2019})=2^{4036} .

Hence, d ( 1 ) + d ( 2 ) + . . . + d ( 2 2019 ) = 1 + ( 1 + 2 2 + 2 4 + 2 6 + . . . + 2 4036 ) = 1 + 1 ( ( 2 2 ) 2019 1 ) 3 = 2 4038 + 2 3 d(1)+d(2)+...+d(2^{2019})=1+(1+2^2+2^4+2^6+...+2^{4036})=1+\dfrac{1((2^2)^{2019}-1)}{3} = \dfrac{2^{4038}+2}{3} .

Finally, 2 + 4038 + 2 + 3 = 4045 2+4038+2+3=\boxed{4045} .

0 pending reports

×

Problem Loading...

Note Loading...

Set Loading...