We know from the Bézout's identity that for any $x, y \in \mathbb{Z}$ and $d := \gcd(x,y)$ there are $\mu, \lambda \in\mathbb{Z}$ so that $$\mu x + \lambda y = d\, .$$ We immediately see that if $d\mid n \in \mathbb{Z}$ we can also find $\mu, \lambda \in\mathbb{Z}$ so that $$\mu x + \lambda y = n\, .$$
Now this result seems still to be true if we restrict ourselves to natural numbers and $n$ is "large enough":
For $x,y,n \in \mathbb{N}$ and $n$ "large enough" there are $\mu, \lambda \in \mathbb{N}$ so that $$\mu x + \lambda y = n\, .$$
- How can this theorem be precisely stated and how would one prove it?
- How can I calculate the $\mu, \lambda$? What does the algorithm look like (maybe its implemented in Sage?)?