The number of numbers from 1 to 10100 having the sum of their digits equal to 3 is
A
171100
No worries! We‘ve got your back. Try BYJU‘S free classes today!
B
177100
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
171700
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
D
100710
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution
The correct option is C
171700
Consider 100 cells corresponding to 100 digits. lesser digit numbers will have leading zeroes. for eaxample 3 is a 1−digit number represented as 00......003 with 99 leading zeroes. sum of the digits 3, occurs as a single 3, or a 2 and a 1 or there 1′s.
A single 3:
there are 100 numbers
there are 100P2=100×99=9900 numbers
three 1′s:
there are 100C3=100⋅99⋅986=161700 numbers
total=100+9900+161700=171700