I have 2 known positive integers, $a$ and $b$ . Is there a ' standard ' formula to find the lowest (if possible) positive integers $x$ and $y$ , so that the following is true?
$$xa = yb + 1$$
I have 2 known positive integers, $a$ and $b$ . Is there a ' standard ' formula to find the lowest (if possible) positive integers $x$ and $y$ , so that the following is true?
$$xa = yb + 1$$
b
will always be prime. And it doesn't necessarily need to be the 'lowest' answer, I just need a answer. Thanks for the response by the way! – DanDeg Jan 03 '20 at 18:54