wiz-icon
MyQuestionIcon
MyQuestionIcon
1
You visited us 1 times! Enjoying our articles? Unlock Full Access!
Question

The number of integers which lie between 1 and 106 and which have the sum of the digits equal to 12 is

A
8550
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
5382
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
6062
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
8055
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A 6062
To find the number of integers between 1 to 106 which have sum of the digits is 12.
That is, the number between 1 to 1,000,000
Now, 1,000,000 have sum of the digits 1.
So, we need to find the number of integers between 1 to 999,999 which have sum of the digits is 12
The numbers have maximum 6 digits.
So, we are trying to find the number of solutions of the equation given below
d!+d2+d3+d4+d5+d6=12, where 0di9 ........... (i)
Let's forget about the restriction first and try to find out the number of solutions of (i) with di0
If we think there are 12 balls and 6 boxes, and we need to put all these balls(with repetition) in these 6 boxes,
The total no. of possible ways to do so is 6+121C12=17C12
Now, considering count of balls in each boxes, we can get the number.
But, the upper bound of 9 for each digit is not mentioned.
Though this violation of upper bound can only exist in one place, because 10+3>12
Let's say it has occured at first position.
So, we need to decide number of solutions to the equation
d1+d2+d3+d4+d5+d6=2 with di0
which is 6+21C2=7C2
If any one of the six positions get violated, total no. of violation =6×7C2
So, the number of solutions to equation (i) is 17C126×7C2
=6188126=6062
Hence, the answer is 6062.

flag
Suggest Corrections
thumbs-up
0
Join BYJU'S Learning Program
similar_icon
Related Videos
thumbnail
lock
Binomial Coefficients
MATHEMATICS
Watch in App
Join BYJU'S Learning Program
CrossIcon