For reference, the example in question is taken from Contemporary Abstract Algebra (Gallian):
$$\left< 8, 13 \right> = \mathbb{Z}$$
My first question is to confirm that this is saying that $8a+13b=n$, where $a,b,n \in \mathbb{Z}$, and that $n$ can take on any integer, hence $\left<8, 13 \right> = \mathbb{Z}$.
My second question is how can I pick an $n$ value and find out the necessary values for $a$ and $b$. For example, when $n=4, a=2,b=-1$, but what if I wanted to be able to find $a$ and $b$ for any $n$?