I have two questions about solving polynomial equations in a ring $\mathbb{Z_n}$:
1) How to find the number of the roots, without solving the equation? E.g. $x^4-1=0$ (mod 1309) 2) How to solve equations for big n, where simply checking all elements of the ring is not possible?