The correct option is B 924
Let the digits of the numbers be x1,x2,x3,...,x7
so, x1+x2+x3+⋯+x7=6
where 0≤xi≤6, i=1,2,3,...,7
Using Multinomial theorem
(1+x+x2+⋯+x6)(1+x+x2+⋯+x6)...7 times...(1+x+x2+⋯+x6)→coefficient of x6
⇒(1+x+x2+⋯+x6)7→x6
⇒(1−x71−x)7→x6
⇒(1−x7)7(1−x)−7→x6
⇒1⋅(1−x)−7→x6
∴(1−x)−r=∞∑n=1n+r−1Cnxn
⇒(1−x)−7=∞∑n=1n+6Cnxn
So the coefficient of x6→6+6C6=12C6=924