There's a bit of an elaboration in Andrés E. Caicedo's answer to the same question you linked to. I'll base off his ideas to work through an example. You'll see that the numbers involved can get quite large, so let's stick to a relatively basic example: the sequence $(3,1,0)$.
We choose some number $t$ which is at least as big as all the terms in the finite sequence, and also at least as big as the number of terms in the sequence. So, for this example, where there are $3$ terms in the sequence and the highest term is $3$, we can choose $t=3$. We set $b = t!$; in our case, $b=6$. Then we choose $a$ so that the following relations hold:
$$ \begin{align}
a &\equiv 3 \mod 7 \\
a &\equiv 1 \mod 13 \\
a &\equiv 0 \mod 19
\end{align}$$
The numbers $7$,$13$,$19$ will be in general $b+1,2b+1,3b+1,\dots$ The reason for the particular choice of $b$ is that these numbers are pairwise relatively prime: if we choose any pair $mb+1,m'b+1$, the difference will be $nb$ (where $n=|m-m'|$). Any common factor of $mb+1$ and $m'b+1$ must also be a factor of $nb$. Clearly none of the factors of $b$ divide $mb+1$, so it must be a factor of $n$. But all the factors of $n$ divide $b$, since $n$ is $\leq$ than the number of terms and thus $\leq t$, and $b=t!$. So there can be no common factor.
The Chinese Remainder Theorem guarantees that this system of congruence equations, in the case that the moduli are pairwise relatively prime, always has a solution. In this case, $a=703$ gives a solution.
Conversely, given the pair of numbers $a=703,b=6$, we can recover the sequence by doing the divisions and taking the remainders. Thus, in Hagen von Eitzen's notation, the following sentences hold:
$$
\operatorname{mod}(703,7,3)\\
\operatorname{mod}(703,13,1)\\
\operatorname{mod}(703,19,0)
$$
And thus, by definition, the following sentences hold:
$$
\operatorname{seq}(703,6,0,3)\\
\operatorname{seq}(703,6,1,1)\\
\operatorname{seq}(703,6,2,0)
$$
In practice, when you're using the sequence in Peano arithmetic, you don't care what $a$ and $b$ are or how to find them, so you'll usually be using something like the following sentence (which also holds):
$$
\exists a \exists b : \operatorname{seq}(a,b,0,3) \land \operatorname{seq}(a,b,1,1) \land \operatorname{seq}(a,b,2,0)
$$
I hope this example was illustrative. A few closing remarks:
- The choices of $a$ and $b$ are not unique. All we need to encode the sequence is that they exist. Thus you'll see $\operatorname{seq}$ used with $\exists$s.
- I've used ideas external to Peano arithmetic, such as the Chinese Remainder Theorem, in this exposition. That's okay; I'm just trying to prove that the sequence is encodable within Peano arithmetic, i.e., that the last sentence above holds. That sentence doesn't choose $a$ and $b$ explicitly, it just says that there exists some choice which encodes the sequence, which is true. If you're trying to prove within Peano arithmetic that the encoding always exists, you have to work to develop these ideas within Peano arithmetic; Andrés E. Caicedo discusses this in his answer, but I believe it's beyond the scope of this question.