Coefficient of x18 in (1+x+2x2+3x3+.......+18x18is equal to
1005
Coefficient of x18 in (1+x+2x2+3x3+.......+18x18)2
= Coefficient of x18 in (1+x+2x2+3x3+....+18x18)
×(1+x+2x2+3x3+....+18x18)
=1×18+1×17+2×16+.....+17×1+18×1
=36+(1×17+2×16+.....+17×1
=36+17∑r=1r−17∑r=1r2
=36+1818(17)2−17(18)(35)6
=1005