This is part of a bigger question. Its actually a mathematical problem. So it would be really great if someone can direct me to any algorithm to obtain the solution of this problem or a pseudo code will be of help.
The question. Given an equation check if it has an integral solution. For example:
(26a+5)/32=b
Here a
is an integer. Is there an algorithm to predict or find if b
can be an integer. I need a general solution not specific to this question. The equation can vary. Thanks