
The number of integers between 1 and 1000000 having the sum of the digits equals to 18 is
(a) 33649
(b) 25927
(c) 41371
(d) None of these
Answer
534.6k+ views
1 likes
Hint:Assume that the numbers are of the form . Calculate all the possible numbers such that , where anyone of the digits is greater than or equal to 10. Subtract this set of numbers from the number of the form to get the required answer.
Complete step-by-step answer:
We have to calculate the number of possible integers between 1 and 1000000 such that the sum of digits is equal to 18.
We will assume that the numbers are of the form such that and .
We know that the number of possible non-negative solutions of is .
Substituting in the above expression, the number of possible numbers of the form such that and is .
However, we observe that some of these numbers have digits greater than or equal to 10. So, we have to remove those numbers. We will count all such possible numbers.
Let’s assume one digit, say ‘a’ is greater than or equal to 10.
So, the sum of the other five digits is . Thus, we have . We have to count all possible combinations of b, c, d, e, and f.
So, the possible number of ways to choose b, c, d, e, and f such that is . This value should be multiplied by 6 as anyone of numbers among a, b, c, d, e, and f can have a digit greater than or equal to 10. We observe that the possible values of a are .
Thus, the possible numbers whose any one digit is greater than or equal to 10 is
Simplifying the above expression, the possible numbers whose any one digit is greater than or equal to 10 is .
We can rewrite as as both of them are equal to 1.
Thus, the possible numbers whose any one digit is greater than or equal to 10 is .
We know the formula .
By applying formula the last two terms of expression i.e can be written as .Similarly apply the formula for the last two terms and simplify it ,we get
The possible numbers whose any one digit is greater than or equal to 10 is .
Thus, the possible numbers whose any one digit is greater than or equal to 10 is . We will now subtract this value from all the possible six-digit integers whose sum is 18.
So, the number of six-digit integers whose sum is 18 is .
Hence, the number of integers between 1 and 1000000 having the sum of the digits equals to 18 is 25927 which is option (b).
Note: One must subtract the numbers whose digit is greater than or equal to 10 as such numbers don’t exist. Students should know the formulas , the number of possible non-negative solutions of is and for solving these types of questions.
.
Complete step-by-step answer:
We have to calculate the number of possible integers between 1 and 1000000 such that the sum of digits is equal to 18.
We will assume that the numbers are of the form
We know that the number of possible non-negative solutions of
Substituting
However, we observe that some of these numbers have digits greater than or equal to 10. So, we have to remove those numbers. We will count all such possible numbers.
Let’s assume one digit, say ‘a’ is greater than or equal to 10.
So, the sum of the other five digits is
So, the possible number of ways to choose b, c, d, e, and f such that
Thus, the possible numbers whose any one digit is greater than or equal to 10 is
Simplifying the above expression, the possible numbers whose any one digit is greater than or equal to 10 is
We can rewrite
Thus, the possible numbers whose any one digit is greater than or equal to 10 is
We know the formula
By applying formula the last two terms of expression i.e
The possible numbers whose any one digit is greater than or equal to 10 is
Thus, the possible numbers whose any one digit is greater than or equal to 10 is
So, the number of six-digit integers whose sum is 18 is
Hence, the number of integers between 1 and 1000000 having the sum of the digits equals to 18 is 25927 which is option (b).
Note: One must subtract the numbers whose digit is greater than or equal to 10 as such numbers don’t exist. Students should know the formulas
.
Recently Updated Pages
Master Class 11 Business Studies: Engaging Questions & Answers for Success

Master Class 11 Economics: Engaging Questions & Answers for Success

Master Class 11 Accountancy: Engaging Questions & Answers for Success

Master Class 11 Computer Science: Engaging Questions & Answers for Success

Master Class 11 Maths: Engaging Questions & Answers for Success

Master Class 11 English: Engaging Questions & Answers for Success

Trending doubts
1 Quintal is equal to a 110 kg b 10 kg c 100kg d 1000 class 11 physics CBSE

How do I get the molar mass of urea class 11 chemistry CBSE

How do I convert ms to kmh Give an example class 11 physics CBSE

Where can free central placentation be seen class 11 biology CBSE

What is the molecular weight of NaOH class 11 chemistry CBSE

What is 1s 2s 2p 3s 3p class 11 chemistry CBSE
