Is there a description of how $x^{p^n}-1$ factors in $\mathbb{Z}/p^n$?
I'm aware of the situation for $n = 1$.
EDIT: I really mean $\mathbb{Z}/p^n$, not $\mathbb{F}_{p^n}$.
Is there a description of how $x^{p^n}-1$ factors in $\mathbb{Z}/p^n$?
I'm aware of the situation for $n = 1$.
EDIT: I really mean $\mathbb{Z}/p^n$, not $\mathbb{F}_{p^n}$.
A report of my findings. Anything but an answer.
The difficulties arising from the possibility of non-unique factorization do make an appearance here. Somewhat against my expectations the smallest case $p=n=2$ behaves nicely. At least I couldn't find factorizations other than the trivial. $$x^4-1=(x-1)(x+1)(x^2+1)\pmod4.$$
With $p=3,n=2, f(x)=x^9-1$ we do get complications. We have the usual $$ f(x)=(x-1)(x^2+x+1)(x^6+x^3+1),\tag{1} $$ but given that $f(x+3)\equiv f(x)\pmod 9$, we also have $$ f(x)=(x+2)(x^2+7x+4)(x^6+x^3+1).\tag{2} $$ Observe that $x^6+x^3+1$ is invariant under the substitution $x\mapsto x\pm3$, but the lower degree characteristic zero factors are not. It is easy to see that $(1)$ and $(2)$ are essentially different factorizations. For example $x-1$ is not a factor of any of the factors in $(2)$.
I think that more can be said though. May be a $p$-adic tool can shed more light to this question?