Let the general diophantine equation be : a1*x1 + a2*x2 + .... + am*xm = n , where gcd(a1...am) = 1, (a1....am) >= 0
I want to find the number of non-negative (x1..xm) solutions. Could someone help me with this? Detailed mathematical explanations or algorithms will help very much.