Proof for $m$ and $n$ odd: Let $A_m = k[x,y]/y^2-x^m$. Let $B_m$ be integral closure of $A_m$ in $\mathrm{Frac} A_m$. So $B_m \cong k[t]$, with $x = t^2$ and $y=t^m$. Then $\dim B_m/A_m = (m-1)/2$. (A basis for the quotient is $t$, $t^3$, ..., $t^{m-2}$.) Since the vector space $B/A$ is an intrinsic invariant of the ring $A$, this shows that, if $A_m \cong A_n$ with $m$ and $n$ odd, then $(m-1)/2 = (n-1)/2$.
Proof in the general case, with $\mathrm{Char}(K) \neq 2$ Note that $A_m$ is a domain for $m$ odd and not for $m$ even, so $A_m \cong A_n$ imples that $m \equiv n \bmod 2$. We did the case where $m$ and $n$ are odd above; we now do the case that $m$ and $n$ are even. We replace the fraction field by the total ring of fractions. When $\mathrm{Char}(K) \neq 2$, this is $k(t) \oplus k(u)$, with $x = (t,u)$ and $y= (t^{m/2}, -u^{m/2})$. This integral closure of $A_m$ in this ring $k[t] \oplus k[u]$. (Notice that $t^{m/2} = (1/2)(x^{m/2} + y)$ and $u^{m/2} = (1/2)(x^{m/2} - y)$, so $t$ and $u$ are integral over $A_m$; the details are left to the reader.)
A basis for the quotient is $(1,0)$, $(t,0)$, $(t^2,0)$, ..., $(t^{m/2-1},0)$ (using again that the characteristic is not $2$.) So $\dim B_m/A_m = m/2$ and we conclude as before.
In the comments above, marci points out that the condition $\mathrm{Char}(K) \neq 2$ is essential.
Generalities The quantity $\dim B/A$ is called the "defect" or the "$\delta$-invariant" of the singularity. See this MO question for more.