Here is a problem I face practicing the theory of rings:
Define $\phi : \mathbb{Z}[t] \to \mathbb{Q}$, a ring homomorphism (it does map $1$ to $1$). I'm trying to show that if $\phi(t)=\frac{u}{v}$ (in lower terms) then we have $\frac{m}{n}\in\operatorname{Im}(\phi)$ (in lower terms again) if and only if every prime factor of $n$ divides $v$ (in lower terms).
Then I'd like to deduce from this that there does not exist any ideal $I$ of $\mathbb{Z}[t]$ such that $\mathbb{Z}[t]/I$ is isomorphic to $\mathbb{Q}$.
I have:
$$\phi(\sum_{i=0}^{N} a_i t^i)=\sum_{i=0}^{N} a_i\phi(t)^i.$$
If $\frac{m}{n} \in\operatorname{Im}(\phi)$ then there are $N \in \mathbb{N}$ and $a_i\in\mathbb{Z}$ ($i=0,1,...,N$) such that $mv^N=n\sum_{i=0}^{N} a_iu^iv^{N-i}$. Hence one of the implications is quite straightforward as if $p$ prime divides $n$ then it divides the left-hand-side and as it does not divide $m$ it divides $v^N$ and so $v$. But for some reason I can't get to the other way around. I've tried to 'find' the coefficients $a_i$ and show they were integers for some $N$ but I couldn't.
Also, I'm not sure at all how to make progress on the deduction...
Could you hint me please? I'd be very grateful, this is getting a little frustrating...
Thank you!