Let be the set of integers from to and be the sum of the greatest odd divisors of each of the elements of .
Find in the form , where is as small as possible, and enter the value of
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.
Let d ( n ) be the largest odd divisor of n .
Consider the integers n + 1 , n + 2 , . . . , 2 n . 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 distinct odd integers in the range [ 1 , 2 n − 1 ] . However, there are only n positive odd positive integers less than 2n, so our odd parts are all the odd positive integers from 1 to 2 n − 1 , and their sum is n 2 .
So we have d ( n + 1 ) + d ( n + 2 ) + . . . + d ( 2 n ) = n 2 .
Note that d ( 1 ) = 1 . Using the above fact, we find:
d ( 2 ) = 1 ,
d ( 3 ) + d ( 4 ) = 2 2 ,
d ( 5 ) + d ( 6 ) + d ( 7 ) + d ( 8 ) = 2 4 ,
and so on, until:
d ( 2 2 0 1 8 + 1 ) + . . . + d ( 2 2 0 1 9 ) = 2 4 0 3 6 .
Hence, d ( 1 ) + d ( 2 ) + . . . + d ( 2 2 0 1 9 ) = 1 + ( 1 + 2 2 + 2 4 + 2 6 + . . . + 2 4 0 3 6 ) = 1 + 3 1 ( ( 2 2 ) 2 0 1 9 − 1 ) = 3 2 4 0 3 8 + 2 .
Finally, 2 + 4 0 3 8 + 2 + 3 = 4 0 4 5 .