@sparklingaubade said:If a, b, c, d are integers, then find number of all quadruplets (a, b, c, d) such that a*b*c*d = 1050.= 7*3*5*5*2
a*b*c*d = (2)(3)(5^2)(7)
a = (2^x1)(3^y1)(5^z1)(7^w1)
b = (2^x2)(3^y2)(5^z2)(7^w2)
c = (2^x3)(3^y3)(5^z3)(7^w3)
d = (2^x4)(3^y4)(5^z4)(7^w4)
x1 + x2 + x3 + x4 = 1, so 4 ways
y1 + y2 + y3 + y4 = 1, so 4 ways
z1 + z2 + z3 + z4 = 2, so C(5, 3) = 10 ways
w1 + w2 + w3 + w4 = 1, so 4 ways
Total = 4*4*10*4 = 640 positive integral ordered quadruplets
a, b, c, d can be negative also, so {1 + C(4, 2) + C(4, 4)}*640 = 5120 integral ordered quadruplets
@bullseyes said: EDITED : 600????
@scrabbler said:602? (trying to do orally, may be wildly off)regardsscrabbler
600 is correct.
If (p, q, r) is a solution of equation 3x + 4y + 5z = 3012, then (p - 1, q - 1, r - 1) will be a solution for the equation 3x + 4y + 5z = 3000 (as 3 + 4 + 5 = 12)
So, to get a - b, we just have to find all those solutions when atleast one of x, y, z are 1 in 3x + 4y + 5z = 3012 (as then x, y, z will be 0 for equation 3x + 4y + 5z = 3000 and we need only positive integral solutions)
When x = 1, y = 5k + 1, where k varies from 0 to 150, so 151 cases
When y = 1, x = 5k + 1, where k varies from 0 to 200, so 201 cases
When z = 1, x = 4k + 1, where k varies from 0 to 250, so 251 cases
But x = y = 1, y = z = 1, z = x = 1 are counted twice
So, (151 + 201 + 251) - 3 = 600 cases
Hence, a - b = 600