Find the coefficient of x15 in (x3+x6+x9+...........)(x2+x4+x6+...........)(x+x2+x3+..........)
15
Number of solution is equal to coefficient of x15 in
(x3+x6+x9+.............)(x2+x4+x6+...................)(x+x2+x3+..................)
= Coefficient of x9 in (1+x3+x6+x9)(1+x2+x4+........x8)(1+x+x2+x3+...........x9)
Neglecting higher powers
Coefficient of x9 in (1+x+x2+x3+..............x9)(1+x2+x3+x4+x5+2x6+x7+2x8+2x9)
= 1 + 1 + 1 + 1 + 1 + 2 + 1 + 2 + 2 = 12
So, number of ways = 12