I want to prove the following lemma:
Assume that the characteristic of $F$ is $p$ and $p>2$.
Then $(t^m-1)/(t^n-1)$ is a square in $F[t, t^{-1}]$ ($F[t,t^{-1}]$: the polynomials in $t$ and $t^{-1}$ with coefficients in the field $F$) if and only if $(\exists s \in \mathbb{Z}) m=np^s$.
I have done the following:
$\Rightarrow : $
Let $a \in F[t, t^{-1}]$ such that $\frac{t^m-1}{t^n-1}=a^2 \Rightarrow t^m-1=a^2(t^n-1)$.
Let $m=m_1 p^l $, where $p \nmid m_1$. Then $t^m-1=t^{m_1p^l}-1=(t^{m_1}-1)^{p^l} \Rightarrow a^2(t^n-1)=(t^{m_1}-1)^{p^l} \ \ (*)$.