1 5 < x 1 + x 2 + x 3 ≤ 2 0
Find the total number of positive integer triplets ( x 1 , x 2 , x 3 ) satisfying the inequality above.
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.
To Solve this Problem , i will be using the help of generating functions The Max. Value x 1 , x 2 , x 3 , Can achieve For the condition to be true is 18 and the min is 1 We need to find the sum of coefficients of x 1 6 , x 1 7 , x 1 8 , x 1 9 and x 2 0 in : ( x 1 + x 2 + x 3 + ⋯ + x 1 8 ) 3 ⟹ ( 1 − x ) 3 ( x 1 − x 1 9 ) 3 ⟹ x 3 ( 1 − x ) 3 ( 1 − x 1 8 ) 3 We need to find the sum of coefficients of x 1 3 , x 1 4 , x 1 5 , x 1 6 and x 1 7 in : ⟹ ( 1 − x ) 3 ( 1 − x 1 8 ) 3 We know that : 1 − x 1 = n = 0 ∑ ∞ x n Take 1st Derivative : ( 1 − x ) 2 1 = n = 0 ∑ ∞ n x n − 1 Take 2nd Derivative : ( 1 − x ) 3 2 = n = 0 ∑ ∞ n ( n − 1 ) x n − 2 ⟹ ( 1 − x ) 3 1 = n = 0 ∑ ∞ 2 n ( n − 1 ) x n − 2 ( 1 − . . . . . We don’t need the rest of the terms ) ( n = 0 ∑ ∞ 2 n ( n − 1 ) x n − 2 ) ⟹ Required value of n = 1 5 , 1 6 , 1 7 , 1 8 , 1 9 ⟹ 1 5 × 7 + 8 × 1 5 + 1 7 × 8 + 9 × 1 7 + 1 9 × 9 Ans = 6 8 5
Or you could just calculate (15 2)+(16 2)+(17 2)+(18 2)+(19 2)=685, where (x y) is a binomal coeficient example (15 2)=15×14/2
Problem Loading...
Note Loading...
Set Loading...
Relevant wiki: Stars and Bars
the number solution of x 1 + x 2 + x 3 ≤ 2 0 minus the number solution of x 1 + x 2 + x 3 ≤ 1 5 So, the answer is C ( 2 0 , 3 ) − C ( 1 5 , 3 ) = 6 8 5