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

The number of integers between 1 and 1000000 that have the sum of the digits 18 is

A
25927
Right on! Give the BNAT exam to get a 100% scholarship for BYJUS courses
B
25827
No worries! We‘ve got your back. Try BYJU‘S free classes today!
C
24927
No worries! We‘ve got your back. Try BYJU‘S free classes today!
D
None of thes
No worries! We‘ve got your back. Try BYJU‘S free classes today!
Open in App
Solution

The correct option is A 25927
Any number between 1 and 1000000 must be of less than 7 digits. Thus it must be of the form a1a2a3a4a5a6 where a1,a2,a3,a4,a5,a6{0,1,2,3...9}
Given, sum of digits=18
so, a1+a2,+a3+a4+a5+a6=18
Required number
= coefficient of x18 in (1+x+x2+...x9)6
= coefficient of x18 in (1x101x)6
= coefficient of x18 in (1x10)6(1x)6
= coefficient of x18 in (16C1x10)(1x)6 (leaving terms having powers of x greater than 18)
= coefficient of x18 in (1x)6 - 6C1 .coefficient of x8 in (1x)6
=6+181C186.6+81C18=23C56.13C8=25927

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