That proves that $b$ has no prime factors. Which means $b = 1$ and that $n^{\frac 1n} = a\in \mathbb Z$ and $a^n =n$ for some integer $a$.
Now we must prove that is impossible.
If $a = 1$ then $a^n = 1$ and $n=1$ and indeed $1^{\frac 11} = 1$ with no contradiction. (the statement you are trying to prove is only true if $n > 1$.)
If $a > 1$ how can we prove $a^n \ne n$?
Intuitively I would try to make an argument that $a^n = a\cdot a\cdot .... \cdot a \ge a+a+a+.... + a> 1+1+1+.... + 1 = n$ but that would require a bit of justification and maybe a prove by induction.
(How do I know $a\cdot a \cdot a ...\ge a+a+a+...$? I mean it's "obvious" but what are the details... Well for just two value $a\cdot a \ge 2a =a+a$ and we can bootstrap up by induction... if $a^k \ge k\times a$ then $a^{k+1} = a\cdot a^k \ge 2a^k = a^k + a^k \ge (a+a+....+a) +(a+a+.... +a)>(a+a+....+a)+ a= (k+1)a$ ....that'd work if we put it all together...)
Alternatively we can say that $a> 1$ means that if $m = a-1$ then $m \ge 1$ so $a^n = (1+m)^n$ and be the binomial thereom $(1+m)^n = \sum_{k=0}^n {n\choose k}m^k > \sum_{k=0}^n 1 = n+1 > n$.
That'll do it.
=======
Seeing the analytic proofs of Integrand and Reimann'sPointyNose proves the $a^n = n; n > 1$ can not have integer $a$ solutions (and further that $1 < a < 2$) I'm a bit unhappy with my handwavy do it in blocks approach.
But an alternative (without any calculus or Mean Value Theorem):
Claim: If $n \in \mathbb N$ and $b > 0$ then $(1+b)^n \ge 1+nb$.
Pf: By binomial theorem $(1+b)^n = 1 + nb + \sum_{k=2}^n{n\choose k}b^k \ge 1+nb$.
And we know if $0 < a < 1$ then $a^n < 1$ and if $a=1$ then $a^n =1$ so if $a^n = n$ the $a > 1$.
So $n = a^n = (1 + (a-1))^n \ge 1+n(a-1) = 1+an-n$ so $an < 2n-1$ and $a < 2-\frac 1n$.
So $1 < a < 2$.....
.... which at this point I rewrite the entire proof frome scratch:
===== REDO FROM GROUND UP ====
If $n \in \mathbb N$ and $n > 1$ then if $1 < n^{\frac 1n} < 2$ and $n^{\frac 1n}$ is irrational.
Pf: Let $r= n^{\frac 1n}$ so $r^n = n$.
Then $r > 1$ (if $0< r\le 1$ then $r^n \le 1 < n$).
Let $m=r-1 > 0$ so $r = 1+m$ and $n=r^n =(1+m)^n\le 1+nm$ so $m < 1$ and $1<r=m+1 < 2$
If $r$ were rational so that $r=\frac ab; a,b \in \mathbb Z; \gcd(a,b)=1; b> 0$, then $r>0$ means $a > 0$ and $1< r< 2$ means $r$ is not an integer and $b \ne 1$.
Then $a^n = nb^n$ and any prime factor of $b$ would be a factor of $a$. But that contradicts $\gcd(a,b) = 1$.
So $r$ is irrational.