Solving diophantine equation with coefficients

51 Views Asked by At

We know this equation : $$ x_1 + x_2 + \dots + x_n = c$$ and also the number of solutions is obvious . But how we can understand number of solutions in this equation : $$ a_1x_1 + a_2x_2 + \dots + a_nx_n = k$$

Please Help!