a, \(A_n^5=18A_n^4\)
\(\Leftrightarrow\dfrac{n!}{\left(n-5\right)!}=\dfrac{18n!}{\left(n-4\right)!}\)
\(\Leftrightarrow n\left(n-1\right)\left(n-2\right)\left(n-3\right)\left(n-4\right)=18n\left(n-1\right)\left(n-2\right)\left(n-3\right)\)
\(\Leftrightarrow n\left(n-1\right)\left(n-2\right)\left(n-3\right)\left(n-22\right)=0\)
Vì \(n>5\Rightarrow n=22\)