Sorry for the misleading title. My question is: how do you solve Xa + Yb = Z, where X, Y, and Z are positive integer constants and a and b are positive integer variables?(adsbygoogle = window.adsbygoogle || []).push({});

For example, consider 5x + 9y = 181. The problem is: solve for all possible answers for x and y, where x and y are both positive integers. Is it just trial and error or is there some equation that would lead me directly to all the solutions?

**Physics Forums - The Fusion of Science and Community**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# How do you solve 5x + 9y = 181?

Loading...

Similar Threads - solve | Date |
---|---|

B Solve this math? | Nov 28, 2017 |

Insights 10 Math Tips to Save Time and Avoid Mistakes - Comments | Oct 9, 2017 |

**Physics Forums - The Fusion of Science and Community**