p = 1 ∑ n m = p ∑ n ( m n ) ( p m )
If the value of the above expression is in the form a n − b n , where a and b are prime numbers , find a + b .
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.
did the same
We have p = 1 ∑ n m = p ∑ n ( m n ) ( p m ) = 1 ≤ p ≤ m ≤ n ∑ p ! ( m − p ) ! ( n − m ) ! n ! = a ≥ 1 , b , c ≥ 0 a + b + c = n ∑ a ! b ! c ! n ! = a , b , c ≥ 0 a + b + c = n ∑ a ! b ! c ! n ! − b , c ≥ 0 b + c = n ∑ b ! c ! n ! = 3 n − 2 n making the answer 5 .
p = 1 ∑ n m = p ∑ n ( m n ) ( p m ) = p = 1 ∑ n m = p ∑ n p ! ( m − p ) ! ( n − m ) ! n !
now this can be rewritten as p = 1 ∑ n ( p n ) ( 0 p ) + ( p + 1 n ) ( 1 p + 1 ) + ( p + 2 n ) ( 2 p + 2 ) . . . . . . . . . . . + ( n n ) ( p n )
This is the coefficient of x p in the expansion of ( 1 + ( 1 + x ) ) n .
Thus we are required to to find the sum of coefficents of all powers of x except x = 0
Total sum of coefficients is obtained by putting the value of x = 1 ,in ( 1 + ( 1 + x ) ) n which equals 3 n ( 1 )
The sum of coefficients of terms independent of x is given by putting x = 0 ,in ( 1 + ( 1 + x ) ) n which equals 2 n ( 2 )
Thus the required sum is ( 1 ) − ( 2 ) = 3 n − 2 n
Problem Loading...
Note Loading...
Set Loading...
( m n ) counts the number of ways to pick m out of n balls to have non-red color (the rest are red), and ( p m ) counts the number of ways to pick p out of m non-red balls to have blue color (the rest are green). So ( m n ) ( p m ) counts the number of ways to color n balls into n − m red, m − p green, and p blue.
Summing over all m means we count the number of ways to color n balls in red, green, and blue so that p are blue. (The rest are red and/or green; the value of m follows what coloring we get.) Summing over all p , except for p = 0 , means we color n balls in red, green, and/or blue, such that there is at least one blue ball. The number of ways is simply 3 n − 2 n : the number of ways to color n balls in 3 colors, minus the number of ways to color n in 2 colors (without blue). So a + b = 3 + 2 = 5 .