I have a doubt: Given $\frac{\mathbb{Z}_m [x]}{<f(x)>}$, where $m$ is composite and $f(x)=\prod_{i=1}^t f_i^{a_i} (x)$ (irreducible factors), can I admit $\frac{\mathbb{Z}_m [x]}{<f(x)>} \cong \bigoplus_{i=1} ^t \frac{\mathbb{Z}_m [x]}{<f_i ^{a_i}(x)>}$ as rings ? Or is it true just for $\mathbb{Z}_m$, for $m$ prime?
Thank you.
Partial answer
$x$ and $x-p$ are not comaximal in $\Bbb{Z}/(p^2)[x]$ as $(x,x-p)=(x,p)$ which is a maximal ideal
so we don't have $$\Bbb{Z}/(p^2)[x]/(x(x-p)) \cong \Bbb{Z}/(p^2)[x]/(x)\times \Bbb{Z}/(p^2)[x]/(x-p)$$