Home
Class 12
MATHS
Find the number of integers between 1 an...

Find the number of integers between 1 and 1000 having the sum of the digits 18.

Text Solution

Verified by Experts

Integers betweenn 1 and 1000000 will be 1,2,3,4,5 or 6 digits and given sum of digit=18
Thus, we need to obtain the number of solutions of the equation
`x_(1)+x_(2)+x_(3)+x_(4)+x_(5)+x_(6)=18` . . . (i)
where, `0 lt x_(i) le 9, i=1,2,3,4,5,6`
Therefore, the number of solutions of Eq. (i) will be
=Coefficient of `x^(18)` in `(x^(0)+x^(1)+x^(2)+x^(3)+ . . .+x^(9))^(6)`
=Coefficient of `x^(18)` in `((1-x^(10))/(1-x))^(6)`
=Coefficient of `x^(18)` in `(1-x^(10))^(6)(1-x)^(-6)`
=Coefficient of `x^(18)` in `(1-6x^(10))(1+.^(6)C_(1)x+.^(7)C_(2)x^(2)+ . . .+.^(13)C_(8)x^(8)+ . . .+.^(23)C_(18)x^(18)+ . . .)`
`=.^(23)C_(18)-6*.^(13)C_(8)=.^(23)C_(5)-6*.^(13)C_(5)`
`=(23*22*21*20*19)/(1*2*3*4*5)-6*(13*12*11*10*9)/(1*2*3*4*5)`
`=33649-7722=25927`
Promotional Banner

Similar Questions

Explore conceptually related problems

Find the sum of the odd numbers between 0 and 50.

Find five rational numbers between 1 and 2.

Find the sum of odd integers from 1 to 2001.

Find the sum of all natural numbers between 1 and 1000 which are divisible by 3,

Find five rational numbers between: 1/4 and 1/2

How many numbers lying between 100 and 1000 can be formed with the digits 0, 1, 2, 3, 4, 5, if the repetition of the digits is not allowed?

The number of numbers less than 1000 than can be formed out of the digits 0,1,2,3,4 and 5, no digit being repeated, as

Find the sum of all numbers between 200 and 400 which are divisible by 7?

Find the sum of all natural numbers between 1 and 201 which are divisible by 5.