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

The correct Answer is:
`.^(33)C_(18)-6xx.^(23)C_(8)`

Any number between 1 and 100000 must be of less than six digits.
Therefore, it must be of the form `a_(1)a_(2)a_(3)a_(4)a_(5)a_(6)`
where `a_(1),a_(2),a_(3),a_(4),a_(5),a_(6) in {0,1,2,..,9}`
Now given that `a_(1)+a_(2)+a_(3)+a_(4)+a_(5)+a_(6)=18`
where `0 le a_(i) le9, i=1,2,3,..,9`
`therefore` Required number of integers
=coefficient of `p^(18) " in" (1+p+p^(2)+..+ p^(9))^(6)`
= coefficient of `p^(18) " in" (1-p^(10))/(1-p))^(6)`
= coefficient of `p^(18) " in" [(1-p^(10))^(6)(1-p)^(-6)]`
=coefficient of `p^(18) " in" [(1- .^(6)C_(1)p^(10))(1-p)^(-16)]`
`= .^(33)C_(18)-6xx .^(23)C_(8)`
Promotional Banner

Similar Questions

Explore conceptually related problems

The number of integers between 1 and 1000 having their sum of digits equal to 12 is

How many integers between 1 and 1000000 have the sum of the digit equal to 18?

Find the number of integer between 1 and 10000 with at least one 8 and at least one 9 as digits.

Find the number of integers which lie between 1 and 10^(6) and which have the sum of the digits equal to 12.

How many numbers are there between 100 and 1000 which have exactly one of their digits as 7?

How many numbers are there between 100 and 1000, which have exactly one of their digits as 7?

What is the number of odd integers between 1000 and 9999 with no digit repeated ?