In a current project that I am working on, I have to determine relationship between various variables so that the final result I get by solving the equation is a natural number.
For example, one such equation is
$$\frac{(D_2*B_2 - D_1*B_1)}{(D_1*M_1 - D_2*M2)}$$
All the variables in this case are natural numbers. I have to find a condition between them such that the final result after division is also a natural number.
Can this be done at all? If it is doable, could anyone please provide some insights on how I should proceed?
Even though there are no other constraints on the variables, we can add the constraints ourselves. For example, $D_1$ could always only be a multiple of 5 etc.
Thanks.
I can add all kinds of constraints as long as the final result after division is a natural number. :)
– iKnowNothing May 21 '18 at 21:24