Background
Exercise: Show that every nonzero $f(x)$ in $\Bbb{Q}_{\Bbb{Z}}[x]$ can be written in the form $cx^np_1(x)\cdots p_k(x)$, with $c\in \Bbb{Q},n\geq 0$, and each $p_i(x)$ nonconstant irreducible in $\Bbb{Q}_{\Bbb{Z}}[x]$....
Solution: By the unique factorization of $\Bbb{Q}[x]$, $f(x)$ is a product of irreducible. Among these factors, replace each associate of $x$ by $\mathrm{x}$, and replace every $p(x)$ which is not a associate of $x$ by $p(0)^{-1}p(x)$. These adjustments leave a constant term factor, so that $f(x)=cx^np_1(x)\cdots p_k(x)$ where $c\in \Bbb{Q},n\geq 0$ and each $p_i(x)$ is irreducible in $\Bbb{Q}[x]$ with constant term $1$. Each $p_i(x)$ is irreducible in $\Bbb{Q}_{\Bbb{Z}}[x]$.
Question
In the exercise question above, the notation $\Bbb{Q}_{\Bbb{Z}}[x]$ denotes the ring $\Bbb{Z}+x\Bbb{Q}[x]$. I am having a difficult time deciphering how to construct the expression. I understand that $\Bbb{Z}+x\Bbb{Q}[x]\subset \Bbb{Q}[x]$. So if I have a polynomial $f(x)\in \Bbb{Z}+x\Bbb{Q}[x]$, with coefficients in $\Bbb{Q}$, and if any of the coefficients are fractions, then i would simply clear the denominators by multiplying the entire polynomials by the product of the denominators, or simply take their LCM.
As a simple example,
let $f(x)=195x^3-1343x^2+1597x+2431$
$=\frac{195}{2431}x^3-\frac{1343}{2431}x^2+\frac{1597}{2431}x+1$
$=(3x-13)(5x-17)(13x+11)$.
So we have $p_1(x)=(3x-13),p_2(x)=(5x-17),p_3(x)=(13x+11)$.
I still did not know where $c,x^n$ come from. I looked at the student solution, and I don't know what the author meant by replace every associate of $x$ by $\mathrm{x}$ and to "replace every $p(x)$ which is not a associate of $x$ by $p(0)^{-1}p(x)$".
In the example above, do I let $c=2431$ and consider say $\frac{1343}{2431}$ as an associate to one of the $x$s in one of the $p_i(x)$ factors?
I think there is an ambiguity in when the question states that "every nonzero $f(x)$ in $\Bbb{Q}_{\Bbb{Z}}[x]$", does the author assume that a polynomial $f(x)$ is of the form with no nonzero constant term, or one with nonzero constant term: $a_nx^n+a_{n-1}x^{n-1}+\cdots a_1x+a_0$ with $a_0\in \Bbb{Z}$?
On the other hand, if the question assumes that $f(x)$ is a polynomial of the form $a_nx^n+a_{n-1}x^{n-1}+\cdots+a_mx^m$, then it let $c=a_m$ and factors out $x^m$ with $a_nx^n+a_{n-1}x^{n-1}+\cdots+a_mx^m={a_m}{x^m}(x^{n-m}+\frac{a_{n-1}}{a_m}x^{n-m-1}+\cdots+\frac{a_{m-1}}{a_m}x^2+1)$. Since $x^{n-m}+\frac{a_{n-1}}{a_m}x^{n-m-1}+\cdots+\frac{a_{m-1}}{a_m}x^2+1\in \Bbb{Q}[x]$, the expression factors into irreducibles in the form of $p_1(x)\cdots p_k(x)$.
Thank you in advance