I was proving $\sqrt 6 \notin \Bbb Q$, by assuming its negation and stating that: $\exists (p,q) \in \Bbb Z \times \Bbb Z^*/ \gcd(p,q) = 1$, and $\sqrt 6 = (p/q)$.
$\implies p^2 = 2 \times 3q^2 \implies \exists k \in \Bbb Z; p = 2k \implies 2k^2 = 3q^2$ and found two possible cases, either $q$ is even or odd, if even we get contradiction that $\gcd(p, q) \neq 1$, if odd we get contradiction that $2k^2 = 3q^2$.
Is it a right path for reasoning it?
I'll play more generally and see what happens.
Suppose $\sqrt{m} =\dfrac{u}{v} $ where $m = \prod_{p \in P} p^{m_i}, u = \prod_{p \in P} p^{u_i}, v = \prod_{p \in P} p^{v_i} $.
Then $\prod_{p \in P} p^{m_i} =\dfrac{u^2}{v^2} =\dfrac{ \prod_{p \in P} p^{2u_i}}{\prod_{p \in P} p^{2v_i}} $ so $\prod_{p \in P} p^{m_i}\prod_{p \in P} p^{2v_i} =\prod_{p \in P} p^{2u_i} $ or $\prod_{p \in P} p^{m_i+2v_i} =\prod_{p \in P} p^{2u_i} $.
By unique factorization, $m_i+2v_i =2u_i $, so $m_i =2u_i-2v_i =2(u_i-v_i) $.
Therefore $m =\prod_{p \in P} p^{m_i} =\prod_{p \in P} p^{2(u_i-v_i)} =\left(\prod_{p \in P} p^{u_i-v_i}\right)^2 $ so $m$ is a perfect square.
Therefore the square root of an integer is rational only if it is a square.
I'll now try to generalize this to $k$-th roots, with as much cut-and-paste as possible.
Suppose $\sqrt[k]{m} =\dfrac{u}{v} $ where $m = \prod_{p \in P} p^{m_i}, u = \prod_{p \in P} p^{u_i}, v = \prod_{p \in P} p^{v_i} $.
Then $\prod_{p \in P} p^{m_i} =\dfrac{u^k}{v^k} =\dfrac{ \prod_{p \in P} p^{ku_i}}{\prod_{p \in P} p^{kv_i}} $ so $\prod_{p \in P} p^{m_i}\prod_{p \in P} p^{kv_i} =\prod_{p \in P} p^{ku_i} $ or $\prod_{p \in P} p^{m_i+kv_i} =\prod_{p \in P} p^{ku_i} $.
By unique factorization, $m_i+kv_i =ku_i $, so $m_i =ku_i-kv_i =k(u_i-v_i) $.
Therefore $m =\prod_{p \in P} p^{m_i} =\prod_{p \in P} p^{k(u_i-v_i)} =\left(\prod_{p \in P} p^{u_i-v_i}\right)^k $ so $m$ is a perfect $k$-th power.
Therefore the $k$-th root of an integer is rational only if it is a $k$-th power.