I would like to solve a first degree equation with multiple variables (not a system of equations) like :
10x + 5y + 7z = 630
Is there any way to solve it without using bruteforce?
Solutions must be integers.
I would like to solve a first degree equation with multiple variables (not a system of equations) like :
10x + 5y + 7z = 630
Is there any way to solve it without using bruteforce?
Solutions must be integers.
No you can't, you have an infinity of solutions in this case.
To solve such problem you shoud have a system with at least the same number of equations as the number of variables.
Another trick, in some cases you could solve it as an underdetermined system.