Given the function f ( n ) = r = 0 ∑ n r ( r n ) , find the largest integer k such that 2 k ∣ f ( 1 0 0 ) .
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.
My solution:
We know that ( r n ) = ( n − r n ) , which implies that
f ( n ) = r = 0 ∑ n r ( r n ) = r = 0 ∑ n r ( n − r n )
Which in turn implies that
2 f ( n ) = r = 0 ∑ n r ( r n ) + r = 0 ∑ n r ( n − r n ) = r = 0 ∑ n r ( r n ) + r = 0 ∑ n ( n − r ) ( r n ) = n r = 0 ∑ n ( r n ) = n ( 2 n )
And so, f ( n ) = n ( 2 n − 1 ) .
We are then looking for the largest power of two which divides f ( 1 0 0 ) = 1 0 0 ( 2 9 9 ) = 2 5 ( 2 1 0 1 ) . We can then easily see that this power is 2 1 0 1 , so our final answer is 1 0 1 .
@Sambhrant Sachan and @Rishabh Cool have already shown solutions with the help of Calculus.
Initially I had another solution. Let me demonstrate it for even n . For odd n , it's pretty similar.
We'll use this Combinatorial Identity: n ( r n ) = r ( r n ) + ( r + 1 ) ( r + 1 n ) ⋯ ⋯ ⋯ ( 1 )
We have, f ( n )
= ∑ r = 0 n r ( r n )
= ∑ r = 1 n r ( r n )
= ( 1 ( 1 n ) + 2 ( 2 n ) ) + ( 3 ( 3 n ) + 4 ( 4 n ) ) + ⋯ ⋯ ⋯ + ( ( n − 1 ) ( n − 1 n ) + n ( n n ) )
= n ( 1 n ) + n ( 3 n ) + ⋯ ⋯ ⋯ + n ( n − 1 n )
= n ( ( 1 n ) + ( 3 n ) + ⋯ ⋯ ⋯ + ( n − 1 n ) )
= n × 2 n − 1 .
Then f ( 1 0 0 ) = 1 0 0 × 2 9 9 = 2 5 × 2 1 0 1 .
So, 1 0 1 is the answer.
Later when I tried to generalize it for ∑ r = 0 n r k ( r n ) , I found the Calculus approach to be better.
I like this , logic is always better. Anyone with a little knowledge of combinatorics knows this identity .
starting with binomial expansion of ( 1 + x ) n . Where x is a complex number and n is a whole number.
( 1 + x ) n = ( 0 n ) x 0 + ( 1 n ) x 1 + ( 2 n ) x 2 + ⋯ + ( n − 1 n ) x n − 1 + ( n n ) x n = r = 0 ∑ n ( r n ) x r
Differentiate the equation with respect to x
n ( 1 + x ) n − 1 = 1 ⋅ ( 1 n ) + 2 ⋅ ( 2 n ) x 1 + ⋯ + ( n − 1 ) ⋅ ( n − 1 n ) x n − 2 + n ⋅ ( n n ) x n − 1 = r = 0 ∑ n r ( r n ) x r − 1
put x = 1
n ⋅ 2 n − 1 = 1 ⋅ ( 1 n ) + 2 ⋅ ( 2 n ) + ⋯ + ( n − 1 ) ⋅ ( n − 1 n ) + n ⋅ ( n n ) = r = 0 ∑ n r ( r n )
f ( 1 0 0 ) = 1 0 0 × 2 9 9 = 2 5 × 2 1 0 1
Therefore the largest integer k must be equal to 1 0 1
Check out my note on Laws of binomial theorem
It's nice to have you here.
After sharing this problem, I found your note.
I would try to write one if you haven't written. Nice Note!
Problem Loading...
Note Loading...
Set Loading...
Consider: ( x + 1 ) n = r = 0 ∑ r = n x r ( r n )
Differentiate both sides w.r.t x
⟹ n ( x + 1 ) n − 1 = r = 0 ∑ r = n r x r − 1 ( r n )
Put x = 1 to get:
n 2 n − 1 = r = 0 ∑ r = n r ( r n )
∴ f ( n ) = n 2 n − 1 ⟹ f ( 1 0 0 ) = 1 0 0 ⋅ 2 9 9 = 2 5 ⋅ 2 1 0 1
Therefore the largest integer k such that 2 k ∣ f ( 1 0 0 ) is 1 0 1 .