Let $m,n$ be positive integers and $p$ be a prime. Consider the finite field $\Bbb{F}_{p^n}$ and let $f(x)\in \Bbb{F}_p[x]$ be an irreducible polynomial of degree $m$. Let the factorisation of $f(x)$ in $\Bbb{F}_{p^n}[x]$ into distinct irreducible polynomials be $f(x)=f_1(x) \cdots f_r(x)$.
I have to find $r$ in terms of $m$ and $n$.
I know that $G=Gal(\Bbb{F}_{p^n}/\Bbb{F}_p)$ acts transitively on the factors $\{f_1(x),\ldots,f_r(x)\}$, i.e., for $f_i(x),f_j(x)$ there exists $\tau_{ij}\in G$ such that $f_i(x)^{\tau_{ij}}=f_j(x)$. We have by the orbit-stabiliser theorem of a transitive action $$r=\frac{n}{\mid Stab_{G}(f_1)\mid}.$$
Since $G$ is cyclic, in fact $G$ is generated by the Frobenius $\sigma:\Bbb{F}_{p^n} \to \Bbb{F}_{p^n}$, given by $a \mapsto a^p$ and since ${\mid Stab_{G}(f_1)\mid}=\cdots={\mid Stab_{G}(f_r)\mid}$, it must be the case $Stab_{G}(f_1)=\cdots=Stab_{G}(f_r)=H$(say), let $H=\langle\sigma^i\rangle$ for some $i\in \{0,1,\ldots,n-1\}$. Then it is clear that $\forall \; i, \;f_i(x)\in \Bbb{F}_{p^n}^{H}=\Bbb{F}_{p^{(i,n)}}$(by Artin's theorem), where $(i,n)$ denotes the gcd of $i,n$. One can also see that $f_i(x)\in \Bbb{F}_{p^m}[x] \; \forall\; i $, since $f(x)$ splits in $\Bbb{F}_{p^m}$. Thus $f_i(x)\in \Bbb{F}_{p^m}[x]\cap \Bbb{F}_{p^n}[x] \; \forall\; i $, implying that $f_i(x) \in \Bbb{F}_{p^{(m,n)}}[x]\;\forall\; i$. From here can I conclude that $(i,n)=(m,n)$?
I need some help with some detail. I will appreciate that. Thanks.