Let $k$ be a positive integer and $x=\sqrt{k}$. Suppose $x$ is rational and $x=( \frac{m}{n} )$ such that $m\in\mathbb{Z}$ and $n$ is the least positive integer such that $nx$ is an integer. Define $n'=n(x-[x])$ where $[x]$ is the integer part of $x$.
$(a)$ Show that $0\leq n' <n$ and $n'x$ is an integer.
$(b)$ Show that $n'=0$
$(c)$ From $(a)$ and $(b)$, conclude that $\sqrt{k}$ is either a positive integer or irrational.
In this problem, I could establish the inequality using properties of fractional part of x. However, since the question does not mention any such function, I don't think it should be used. Can someone help me solve this.