The coefficient of x7 in (1-x+2x3)10 is _________ . [2023]
(960)
General term is given by
10!r1! r2! r3!(1)r1(-x)r2(2x3)r3 i.e., 10!r1! ·r2! ·r3!(-1)r2·(2)r3xr2+3r3 where r1+r2+r3=10 and r2+3r3=7
Possible values of (r1,r2,r3) are (3, 7, 0), (5, 4, 1) and (7, 1, 2)
Required coefficient
=10!3!7!(-1)7+10!5!4!(-1)4(2)+10!7!2!(-1)1(2)2
=-120+2520-1440=960